mirror of https://github.com/FWGS/hlsdk-xash3d
Prevent possible crash.
This commit is contained in:
parent
627f182571
commit
799acbf753
|
@ -164,6 +164,9 @@ void CEinarMegasquid::HandleAnimEvent( MonsterEvent_t *pEvent )
|
|||
{
|
||||
case MSQUID_AE_SPIT:
|
||||
{
|
||||
if( m_hEnemy == 0 )
|
||||
return;
|
||||
|
||||
Vector vecSpitOffset;
|
||||
Vector vecSpitDir;
|
||||
|
||||
|
|
Loading…
Reference in New Issue