Merge pull request #572 from BjossiAlfreds/gunner-idle

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

View file

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