Fix for gunner AI freeze bug

This commit is contained in:
BjossiAlfreds 2020-05-08 22:14:44 +00:00
parent 1cd49ad20b
commit 964895b760

View file

@ -128,6 +128,11 @@ gunner_fidget(edict_t *self)
return; return;
} }
if (self->enemy)
{
return;
}
if (self->monsterinfo.aiflags & AI_STAND_GROUND) if (self->monsterinfo.aiflags & AI_STAND_GROUND)
{ {
return; return;