Browse Source

Prevent possible crash.

theyhunger
Andrey Akhmichin 2 years ago
parent
commit
799acbf753
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 3
      dlls/hunger/megasquid.cpp

3
dlls/hunger/megasquid.cpp

@ -164,6 +164,9 @@ void CEinarMegasquid::HandleAnimEvent( MonsterEvent_t *pEvent ) @@ -164,6 +164,9 @@ void CEinarMegasquid::HandleAnimEvent( MonsterEvent_t *pEvent )
{
case MSQUID_AE_SPIT:
{
if( m_hEnemy == 0 )
return;
Vector vecSpitOffset;
Vector vecSpitDir;

Loading…
Cancel
Save