aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-02-13 01:06:31 +0000
committerEugene Sandulenko2004-02-13 01:06:31 +0000
commitacce2b3c006fce0bff472c3deba3f2b4b99c2e91 (patch)
tree551818d78b96919c14e3b98bab74724a00dce665 /scumm/script_v6.cpp
parent7511f1e44e718ee329b309b37f629f721c677293 (diff)
downloadscummvm-rg350-acce2b3c006fce0bff472c3deba3f2b4b99c2e91.tar.gz
scummvm-rg350-acce2b3c006fce0bff472c3deba3f2b4b99c2e91.tar.bz2
scummvm-rg350-acce2b3c006fce0bff472c3deba3f2b4b99c2e91.zip
oops. this clearly demonstrates what bug was here :)
svn-id: r12839
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index b066a8c652..7ac2d84c7d 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -3011,8 +3011,8 @@ void ScummEngine_v6::shuffleArray(int num, int minIdx, int maxIdx) {
}
void ScummEngine_v6::o6_shuffle() {
- int a = pop();
int b = pop();
+ int a = pop();
shuffleArray(fetchScriptWord(), a, b);
}