Fix weapon respawn

This commit is contained in:
mittorn 2018-10-08 16:15:11 +00:00
parent 90ed3bb8d2
commit cb47acfe45
1 changed files with 1 additions and 1 deletions

View File

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