Do not use targets second time

This commit is contained in:
mittorn 2016-10-22 20:55:50 +03:00
parent d7ee53ec34
commit ab9523769a

View File

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