mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Exhumed: allow Anubis to get out of the walking state if he loses his target.
This happened on occasion on the first map
This commit is contained in:
parent
53dfac5327
commit
ff09257d47
1 changed files with 6 additions and 0 deletions
|
@ -229,6 +229,12 @@ void AIAnubis::Tick(RunListEvent* ev)
|
|||
ap->nFrame = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Don't let Anubis get stuck in this state and allow him to acquire a new target.
|
||||
ap->nAction = 0;
|
||||
ap->nCount = 50;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue