mirror of
https://github.com/yquake2/rogue.git
synced 2025-04-18 00:10:46 +00:00
Merge pull request #73 from BjossiAlfreds/gunner-idle
Fix for gunner AI freeze bug
This commit is contained in:
commit
221171831b
1 changed files with 5 additions and 0 deletions
|
@ -128,6 +128,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