mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Remove any previous owner on weapon spawn
► Ensure that materialized weapons have no owners since they just spawned.
This commit is contained in:
parent
3bcc1681e3
commit
e7f0d11b8b
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void CWeaponHL2MPBase::Materialize( void )
|
|||
}
|
||||
|
||||
SetPickupTouch();
|
||||
|
||||
SetOwnerEntity( NULL );
|
||||
SetThink (NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue