aboutsummaryrefslogtreecommitdiff
path: root/engines/prince
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince')
-rw-r--r--engines/prince/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index f5b38cbe47..6e74b353f5 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -649,7 +649,7 @@ void Interpreter::O_PUTBACKANIM() {
int offset = room->_backAnim + slot * 4;
_vm->_script->setBackAnimId(offset, animId);
if (_vm->_locationNr == roomId) {
- _vm->_script->installBackAnims(_vm->_backAnimList, offset);
+ _vm->_script->installSingleBackAnim(_vm->_backAnimList, slot, offset);
}
delete room;
debugInterpreter("O_PUTBACKANIM roomId %d, slot %d, animId %d", roomId, slot, animId);