[Scummvm-cvs-logs] SF.net SVN: scummvm: [29010] scummvm/trunk/engines/agi/preagi_mickey.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Sep 21 22:08:42 CEST 2007


Revision: 29010
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29010&view=rev
Author:   thebluegr
Date:     2007-09-21 13:08:42 -0700 (Fri, 21 Sep 2007)

Log Message:
-----------
Oops

Modified Paths:
--------------
    scummvm/trunk/engines/agi/preagi_mickey.cpp

Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-21 20:06:57 UTC (rev 29009)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-21 20:08:42 UTC (rev 29010)
@@ -1265,10 +1265,10 @@
 		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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list