aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukaslw2014-07-23 02:32:40 +0200
committerlukaslw2014-07-23 02:32:40 +0200
commitd7ad1b0c14af14500e0e35c447ecd579414e9203 (patch)
treeafdcc2e7a9a1b55a1344b88bf4dbae90c14e989c
parentf81a6b47fdefb1ecd0862f234ef77a1cc7235ca9 (diff)
downloadscummvm-rg350-d7ad1b0c14af14500e0e35c447ecd579414e9203.tar.gz
scummvm-rg350-d7ad1b0c14af14500e0e35c447ecd579414e9203.tar.bz2
scummvm-rg350-d7ad1b0c14af14500e0e35c447ecd579414e9203.zip
PRINCE: O_PUTBACKANIM() fix
-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);