mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Merge pull request #572 from BjossiAlfreds/gunner-idle
Fix for gunner AI freeze bug
This commit is contained in:
commit
93c0302d79
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,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