aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-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);
}