From 9a90bce4ebec730702d1906c0c4bbb121383aec7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 14 Dec 2022 10:25:01 +0100 Subject: [PATCH] - Exhumed: allow Anubis to get out of the walking state if he loses his target. This happened on occasion on the first map --- source/games/exhumed/src/anubis.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/games/exhumed/src/anubis.cpp b/source/games/exhumed/src/anubis.cpp index 97eff5a9d..81990f17d 100644 --- a/source/games/exhumed/src/anubis.cpp +++ b/source/games/exhumed/src/anubis.cpp @@ -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; }