mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Merge e7f0d11b8b
into ceb6d4d783
This commit is contained in:
commit
4eee059f5f
2 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ CBaseEntity* CBaseCombatWeapon::Respawn( void )
|
|||
{
|
||||
// make a copy of this weapon that is invisible and inaccessible to players (no touch function). The weapon spawn/respawn code
|
||||
// will decide when to make the weapon visible and touchable.
|
||||
CBaseEntity *pNewWeapon = CBaseEntity::Create( GetClassname(), g_pGameRules->VecWeaponRespawnSpot( this ), GetLocalAngles(), GetOwnerEntity() );
|
||||
CBaseEntity *pNewWeapon = CBaseEntity::Create( GetClassname(), g_pGameRules->VecWeaponRespawnSpot( this ), GetLocalAngles() );
|
||||
|
||||
if ( pNewWeapon )
|
||||
{
|
||||
|
|
|
@ -195,7 +195,7 @@ void CWeaponHL2MPBase::Materialize( void )
|
|||
}
|
||||
|
||||
SetPickupTouch();
|
||||
|
||||
SetOwnerEntity( NULL );
|
||||
SetThink (NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue