This commit is contained in:
speedvoltage 2025-03-31 07:26:00 +03:00 committed by GitHub
commit 4eee059f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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 )
{

View file

@ -195,7 +195,7 @@ void CWeaponHL2MPBase::Materialize( void )
}
SetPickupTouch();
SetOwnerEntity( NULL );
SetThink (NULL);
}