mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-08 21:14:14 +00:00
Fix crash
This commit is contained in:
parent
64646c5bd1
commit
c129d99721
@ -415,7 +415,7 @@ void CGateOfBabylonSpawner::FollowPlayerThink( void )
|
|||||||
if( !m_pGates )
|
if( !m_pGates )
|
||||||
return; // wait for gates
|
return; // wait for gates
|
||||||
|
|
||||||
if( !m_pGates->m_pPlayer || m_pGates->m_pPlayer->pev->deadflag > DEAD_NO )
|
if( !m_pGates->m_pPlayer || !m_pGates->m_pPlayer->m_pActiveItem || m_pGates->m_pPlayer->pev->deadflag > DEAD_NO )
|
||||||
{
|
{
|
||||||
SetThink( &CBaseEntity::SUB_Remove );
|
SetThink( &CBaseEntity::SUB_Remove );
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user