mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self->enemy)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (self->monsterinfo.aiflags & AI_STAND_GROUND)
|
if (self->monsterinfo.aiflags & AI_STAND_GROUND)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue