aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/console.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2010-11-29 20:59:17 +0000
committerBastien Bouclet2010-11-29 20:59:17 +0000
commited59b28d0bd8a7eb1f30357d48bbd26cb1b307ff (patch)
tree8fa4bc87657cdb6ef4ad2799a2b8d6ee2da0c7b3 /engines/mohawk/console.cpp
parentfcc1dd6749ea33bf8c9fd6e15a004bfeb7b3a47e (diff)
downloadscummvm-rg350-ed59b28d0bd8a7eb1f30357d48bbd26cb1b307ff.tar.gz
scummvm-rg350-ed59b28d0bd8a7eb1f30357d48bbd26cb1b307ff.tar.bz2
scummvm-rg350-ed59b28d0bd8a7eb1f30357d48bbd26cb1b307ff.zip
MOHAWK: Do not always update the screen after a card change. Necessary for "animated card changes" to work.
svn-id: r54630
Diffstat (limited to 'engines/mohawk/console.cpp')
-rw-r--r--engines/mohawk/console.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp
index 613826e895..e6eab0b495 100644
--- a/engines/mohawk/console.cpp
+++ b/engines/mohawk/console.cpp
@@ -69,7 +69,7 @@ bool MystConsole::Cmd_ChangeCard(int argc, const char **argv) {
}
_vm->_sound->stopSound();
- _vm->changeToCard((uint16)atoi(argv[1]));
+ _vm->changeToCard((uint16)atoi(argv[1]), true);
return false;
}
@@ -161,9 +161,9 @@ bool MystConsole::Cmd_ChangeStack(int argc, const char **argv) {
_vm->changeToStack(stackNum - 1);
if (argc == 3)
- _vm->changeToCard((uint16)atoi(argv[2]));
+ _vm->changeToCard((uint16)atoi(argv[2]), true);
else
- _vm->changeToCard(default_start_card[stackNum - 1]);
+ _vm->changeToCard(default_start_card[stackNum - 1], true);
return false;
}