aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/script.cpp')
-rw-r--r--engines/prince/script.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index 061d86c848..dc8bb91674 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -643,6 +643,14 @@ void Interpreter::O_SHOWANIM() {
delete anim._shadowData;
anim._shadowData = nullptr;
}
+
+ // WALKAROUND: fix for turning off bard's wife background animation
+ // in front of bard's house (location 7) after giving her poem (item 33)
+ // in script: GiveLetter (line 11082)
+ if (_currentInstruction == kGiveLetterScriptFix) {
+ _vm->_backAnimList[1].backAnims[0]._state = 1;
+ }
+
debugInterpreter("O_SHOWANIM slot %d, animId %d", slot, animId);
}