diff options
author | Max Horn | 2006-01-21 13:01:20 +0000 |
---|---|---|
committer | Max Horn | 2006-01-21 13:01:20 +0000 |
commit | 0b39c0ea9fbc43569a17f65db6fe6a89f29ccee1 (patch) | |
tree | c1b6170cbc006981a22b36c4b02f10bda699c542 /simon | |
parent | e34d963027194654259c4ce3499780671f36e133 (diff) | |
download | scummvm-rg350-0b39c0ea9fbc43569a17f65db6fe6a89f29ccee1.tar.gz scummvm-rg350-0b39c0ea9fbc43569a17f65db6fe6a89f29ccee1.tar.bz2 scummvm-rg350-0b39c0ea9fbc43569a17f65db6fe6a89f29ccee1.zip |
Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |