[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.558,1.559

Max Horn fingolfin at users.sourceforge.net
Sat Jan 21 05:03:02 CET 2006


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20363/simon

Modified Files:
	simon.cpp 
Log Message:
Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'

Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -d -r1.558 -r1.559
--- simon.cpp	18 Jan 2006 17:39:51 -0000	1.558
+++ simon.cpp	21 Jan 2006 13:01:19 -0000	1.559
@@ -104,7 +104,7 @@
 GameList Engine_SIMON_gameList() {
 	GameList games;
 	const GameSettings *g = simonGames;
-	while (g->name) {
+	while (g->gameid) {
 		games.push_back(*g);
 		g++;
 	}
@@ -119,8 +119,8 @@
 Engine *Engine_SIMON_create(GameDetector *detector, OSystem *syst) {
 	const ObsoleteTargets *o = obsoleteTargetsTable;
 	while (o->from) {
-		if (!scumm_stricmp(detector->_game.name, o->from)) {
-			detector->_game.name = o->to;
+		if (!scumm_stricmp(detector->_game.gameid, o->from)) {
+			detector->_game.gameid = o->to;
 
 			ConfMan.set("gameid", o->to);
 





More information about the Scummvm-git-logs mailing list