- 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:
Christoph Oelckers 2022-12-14 10:25:01 +01:00
parent 53dfac5327
commit ff09257d47

View file

@ -229,6 +229,12 @@ void AIAnubis::Tick(RunListEvent* ev)
ap->nFrame = 0; 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; break;
} }