mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-11 13:01:12 +00:00
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…
x
Reference in New Issue
Block a user