mirror of
https://github.com/yquake2/xatrix.git
synced 2025-04-19 16:51:30 +00:00
Merge pull request #55 from BjossiAlfreds/gunner-idle
Fix for gunner AI freeze bug
This commit is contained in:
commit
55cdf7b1ac
1 changed files with 5 additions and 0 deletions
|
@ -127,6 +127,11 @@ gunner_fidget(edict_t *self)
|
|||
return;
|
||||
}
|
||||
|
||||
if (self->enemy)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (self->monsterinfo.aiflags & AI_STAND_GROUND)
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue