Browse Source

Do not use targets second time

hlzbot-dirty
mittorn 8 years ago
parent
commit
ab9523769a
  1. 3
      dlls/items.cpp

3
dlls/items.cpp

@ -176,7 +176,8 @@ CBaseEntity* CItem::Respawn( void )
UTIL_SetOrigin( pev, m_SpawnPoint );// blip to whereever you should respawn. UTIL_SetOrigin( pev, m_SpawnPoint );// blip to whereever you should respawn.
SetThink( &CItem::Materialize ); SetThink( &CItem::Materialize );
pev->nextthink = g_pGameRules->FlItemRespawnTime( this ); pev->nextthink = g_pGameRules->FlItemRespawnTime( this );
pev->target = 0;
return this; return this;
} }

Loading…
Cancel
Save