From 0b39c0ea9fbc43569a17f65db6fe6a89f29ccee1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Jan 2006 13:01:20 +0000 Subject: Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid' svn-id: r20115 --- simon/simon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'simon') diff --git a/simon/simon.cpp b/simon/simon.cpp index 4041e29cf7..4e003b60b1 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -104,7 +104,7 @@ static const GameSettings simonGames[] = { 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 @@ DetectedGameList Engine_SIMON_detectGames(const FSList &fslist) { 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); -- cgit v1.2.3