diff options
author | Filippos Karapetis | 2007-09-21 20:08:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-21 20:08:42 +0000 |
commit | e35221f4cabba9213766862f81049a2d86d782a3 (patch) | |
tree | 1d2713e0fc323f92f75829d4b30b77bc08f26f76 /engines/agi | |
parent | 8663e5a39fdd8b65011a396b1ec029559c87e331 (diff) | |
download | scummvm-rg350-e35221f4cabba9213766862f81049a2d86d782a3.tar.gz scummvm-rg350-e35221f4cabba9213766862f81049a2d86d782a3.tar.bz2 scummvm-rg350-e35221f4cabba9213766862f81049a2d86d782a3.zip |
Oops
svn-id: r29010
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/preagi_mickey.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp index 8269f2e5f0..6e4dbddd7a 100644 --- a/engines/agi/preagi_mickey.cpp +++ b/engines/agi/preagi_mickey.cpp @@ -1265,10 +1265,10 @@ void Mickey::randomize() { do { // Earth (planet 0) and Uranus (planet 8) are excluded game.iPlanetXtal[i] = _vm->rnd(IDI_MSA_MAX_PLANET - 2); - } while (planetIsAlreadyAssigned(iPlanet)); + } while (planetIsAlreadyAssigned(game.iPlanetXtal[i])); iHint = _vm->rnd(5) - 1; // clues are 0-4 - game.iClue[i] = IDO_MSA_NEXT_PIECE[iPlanet][iHint]; + game.iClue[i] = IDO_MSA_NEXT_PIECE[game.iPlanetXtal[i]][iHint]; } game.fPlanetsInitialized = true; |