From 964895b7609854c945070e5762fde931de64d81d Mon Sep 17 00:00:00 2001 From: BjossiAlfreds Date: Fri, 8 May 2020 22:14:44 +0000 Subject: [PATCH] Fix for gunner AI freeze bug --- src/monster/gunner/gunner.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/monster/gunner/gunner.c b/src/monster/gunner/gunner.c index 6fcefbf..8b8da24 100644 --- a/src/monster/gunner/gunner.c +++ b/src/monster/gunner/gunner.c @@ -128,6 +128,11 @@ gunner_fidget(edict_t *self) return; } + if (self->enemy) + { + return; + } + if (self->monsterinfo.aiflags & AI_STAND_GROUND) { return;