diff options
author | Travis Howell | 2004-09-16 12:54:32 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-16 12:54:32 +0000 |
commit | 31772ea47d00b23dc0de73e52aa39933d59dd86e (patch) | |
tree | 111b7436876aafd5952059cfc12665cb7928f209 /scumm | |
parent | 49cd965411720b3ee20dc628ac864f5ec0e07c5d (diff) | |
download | scummvm-rg350-31772ea47d00b23dc0de73e52aa39933d59dd86e.tar.gz scummvm-rg350-31772ea47d00b23dc0de73e52aa39933d59dd86e.tar.bz2 scummvm-rg350-31772ea47d00b23dc0de73e52aa39933d59dd86e.zip |
Ooops
svn-id: r15139
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f1c3079f15..4387b1f94c 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -3028,8 +3028,8 @@ void ScummEngine_v6::o6_pickVarRandom() { } if (var_A-1 <= num) { - int16 var_2 = readArray(value, 0, var_A - 1); - shuffleArray(value, 1, num - 1); + int16 var_2 = readArray(value, 0, num - 1); + shuffleArray(value, 1, var_A - 1); if (readArray(value, 0, 1) == var_2) { num = 2; } else { |