diff options
author | Travis Howell | 2005-04-09 04:52:44 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-09 04:52:44 +0000 |
commit | efa83b0dbb3818907471642e3385eb71e2ad61a0 (patch) | |
tree | 4c79a24053e78add2451d58737a3d1df22a099ad /scumm/script_v72he.cpp | |
parent | fad585f5521a0b60abaa45a88c02f8591be21f49 (diff) | |
download | scummvm-rg350-efa83b0dbb3818907471642e3385eb71e2ad61a0.tar.gz scummvm-rg350-efa83b0dbb3818907471642e3385eb71e2ad61a0.tar.bz2 scummvm-rg350-efa83b0dbb3818907471642e3385eb71e2ad61a0.zip |
Correct arguments order, works now.
svn-id: r17466
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index d46a9b9200..c6feadd0c9 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1429,15 +1429,15 @@ void ScummEngine_v72he::o72_arrayOps() { break; case 127: { - int a1_dim1end = pop(); - int a1_dim1start = pop(); - int a1_dim2end = pop(); - int a1_dim2start = pop(); - int array2 = fetchScriptWord(); int a2_dim1end = pop(); int a2_dim1start = pop(); int a2_dim2end = pop(); int a2_dim2start = pop(); + int array2 = fetchScriptWord(); + int a1_dim1end = pop(); + int a1_dim1start = pop(); + int a1_dim2end = pop(); + int a1_dim2start = pop(); if (a1_dim1end - a1_dim1start != a2_dim1end - a2_dim1start || a2_dim2end - a2_dim2start != a1_dim2end - a1_dim2start) { warning("Source and dest ranges size are mismatched"); } @@ -2047,7 +2047,7 @@ void ScummEngine_v72he::copyArrayHelper(ArrayHeader *ah, int idx2, int idx1, int case kStringArray: *num = len1 - idx1 + 1; *size = pitch; - *data = ah->data + offset + 1; + *data = ah->data + offset; break; case kIntArray: *num = (len1 - idx1) * 2; |