mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 22:07:34 +00:00
Fix potential bug, depended on compiler.
svn-id: r12838
This commit is contained in:
parent
3c6114bd9c
commit
7511f1e44e
@ -3011,7 +3011,9 @@ void ScummEngine_v6::shuffleArray(int num, int minIdx, int maxIdx) {
|
||||
}
|
||||
|
||||
void ScummEngine_v6::o6_shuffle() {
|
||||
shuffleArray(fetchScriptWord(), pop(), pop());
|
||||
int a = pop();
|
||||
int b = pop();
|
||||
shuffleArray(fetchScriptWord(), a, b);
|
||||
}
|
||||
|
||||
void ScummEngine_v6::o6_pickVarRandom() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user