aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-03-07 22:27:14 +0000
committerTravis Howell2006-03-07 22:27:14 +0000
commit431c820e4febacee6e6f02cfd611df47eaab67c2 (patch)
treedd5d6bfaf66fb51dc09c6a1635c062bff6b6c1b1 /engines/scumm
parent532f38f19f0d2356708e6c4d1444717bc80eac4a (diff)
downloadscummvm-rg350-431c820e4febacee6e6f02cfd611df47eaab67c2.tar.gz
scummvm-rg350-431c820e4febacee6e6f02cfd611df47eaab67c2.tar.bz2
scummvm-rg350-431c820e4febacee6e6f02cfd611df47eaab67c2.zip
Correct order of cases in o72_redimArray()
svn-id: r21135
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/script_v72he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 5c022c153d..9c1dcf7c0b 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -1987,12 +1987,12 @@ void ScummEngine_v72he::o72_redimArray() {
byte subOp = fetchScriptByte();
switch (subOp) {
- case 5:
- redimArray(fetchScriptWord(), 0, newX, 0, newY, kIntArray);
- break;
case 4:
redimArray(fetchScriptWord(), 0, newX, 0, newY, kByteArray);
break;
+ case 5:
+ redimArray(fetchScriptWord(), 0, newX, 0, newY, kIntArray);
+ break;
case 6:
redimArray(fetchScriptWord(), 0, newX, 0, newY, kDwordArray);
break;