Browse Source

Fix weapon respawn

gravgun
mittorn 6 years ago
parent
commit
cb47acfe45
  1. 2
      dlls/weapons.cpp

2
dlls/weapons.cpp

@ -600,7 +600,7 @@ CBaseEntity* CBasePlayerItem::Respawn( void ) @@ -600,7 +600,7 @@ CBaseEntity* CBasePlayerItem::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( STRING( pev->classname ), g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner );
CBaseEntity *pNewWeapon = CBaseEntity::Create( STRING( pev->classname ), m_SpawnPoint, m_SpawnAngles, pev->owner );
if( pNewWeapon )
{

Loading…
Cancel
Save