aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/script_hof.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp
index 111d980a52..7d1f41273d 100644
--- a/engines/kyra/script_hof.cpp
+++ b/engines/kyra/script_hof.cpp
@@ -909,6 +909,10 @@ int KyraEngine_HoF::o2_updateSceneAnim(EMCState *script) {
// away the key. (see bug #1926838 "HoF: Animation plays too fast").
// Adding the workaround for the first case also fixes the second,
// even though stackPos(0) is different then.
+
+ // FIXME: Shouldn't the check for scene 27 be stackPos(0) == 1? Or is the change to
+ // stackPos(0) intentional here?
+
if ((stackPos(0) == 2 && _mainCharacter.sceneId == 3) ||
(stackPos(0) == 3 && _mainCharacter.sceneId == 33) ||
((stackPos(0) == 1 || stackPos(0) == 2) && _mainCharacter.sceneId == 19) ||