mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 06:00:50 +00:00
Fix for gunner AI freeze bug
This commit is contained in:
parent
1cd49ad20b
commit
964895b760
1 changed files with 5 additions and 0 deletions
|
@ -128,6 +128,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