aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-24 17:18:23 +0000
committerMax Horn2003-05-24 17:18:23 +0000
commit9d95b025cd5ad3e6b187fa08b2433b3962e13304 (patch)
tree7eaba41c270a2b963bd174a73f90f84c0c42ad5d /scumm/script_v2.cpp
parent7bc1399e007b3c9f81d0cebaa7eb7e8bb4b8e407 (diff)
downloadscummvm-rg350-9d95b025cd5ad3e6b187fa08b2433b3962e13304.tar.gz
scummvm-rg350-9d95b025cd5ad3e6b187fa08b2433b3962e13304.tar.bz2
scummvm-rg350-9d95b025cd5ad3e6b187fa08b2433b3962e13304.zip
fixed roomOps:1 (thanks to Hoenicke)
svn-id: r7894
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index b680ea6231..feb5b05dd3 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -1174,6 +1174,8 @@ void Scumm_v2::o2_roomOps() {
_opcode = fetchScriptByte();
switch (_opcode & 0x1F) {
case 1: /* room scroll */
+ a *= 8;
+ b *= 8;
if (a < (_screenWidth / 2))
a = (_screenWidth / 2);
if (b < (_screenWidth / 2))