diff options
author | Max Horn | 2006-12-19 23:37:03 +0000 |
---|---|---|
committer | Max Horn | 2006-12-19 23:37:03 +0000 |
commit | 07c6fa980f90946baa779716da2664d231176808 (patch) | |
tree | a71cd420dae43c1d7b8521602af856449e6d064c /engines | |
parent | 296914412064931ce13d502a20ef521fbed3197c (diff) | |
download | scummvm-rg350-07c6fa980f90946baa779716da2664d231176808.tar.gz scummvm-rg350-07c6fa980f90946baa779716da2664d231176808.tar.bz2 scummvm-rg350-07c6fa980f90946baa779716da2664d231176808.zip |
Further AdvancedDetector cleanup (in particular, renamed ADGameDescription::name to the more suitable ADGameDescription::gameid)
svn-id: r24895
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/plugin.cpp b/engines/kyra/plugin.cpp index a479f5b793..3b8f45d96c 100644 --- a/engines/kyra/plugin.cpp +++ b/engines/kyra/plugin.cpp @@ -231,7 +231,8 @@ DetectedGameList Engine_KYRA_detectGames(const FSList &fslist) { ADList games = detectKyraGames(fslist); for (ADList::const_iterator pos = games.begin(); pos != games.end(); ++pos) { - DetectedGame game(adGameDescs[*pos].id, adGameDescs[*pos].desc.name, adGameDescs[*pos].desc.language, adGameDescs[*pos].desc.platform); + // FIXME: The 'gameid' field is being abused as a description field here! + DetectedGame game(adGameDescs[*pos].id, adGameDescs[*pos].desc.gameid, adGameDescs[*pos].desc.language, adGameDescs[*pos].desc.platform); game.updateDesc(adGameDescs[*pos].desc.extra); detectedGames.push_back(game); } |