aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-14 10:55:24 +0000
committerTorbjörn Andersson2003-11-14 10:55:24 +0000
commit2658021292926056029e993b308c16c2b4afadbc (patch)
treeee2418c4514e6b1c32448e3adcc8e021069bb502 /scumm
parent0c6eabe4a3def06f74a5e77421eda42e0c183b8e (diff)
downloadscummvm-rg350-2658021292926056029e993b308c16c2b4afadbc.tar.gz
scummvm-rg350-2658021292926056029e993b308c16c2b4afadbc.tar.bz2
scummvm-rg350-2658021292926056029e993b308c16c2b4afadbc.zip
Fixed regression introduced in revision 1.206 that broke parameter handling
in o5_matrixOps(). This fixes bug #841885. svn-id: r11294
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 2f50a9db85..a8dd0be501 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1522,8 +1522,8 @@ void ScummEngine_v5::o5_matrixOps() {
return;
}
- int subOp = fetchScriptByte();
- switch (subOp & 0x1F) {
+ _opcode = fetchScriptByte();
+ switch (_opcode & 0x1F) {
case 1:
a = getVarOrDirectByte(0x80);
b = getVarOrDirectByte(0x40);