Merge pull request #73 from BjossiAlfreds/gunner-idle

Fix for gunner AI freeze bug
This commit is contained in:
Yamagi 2020-05-11 11:41:44 +02:00 committed by GitHub
commit 221171831b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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