diff options
author | Bastien Bouclet | 2017-12-03 12:19:08 +0100 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 09:04:23 +0200 |
commit | 5aff87dc153f392cb14423efa78a96397789a6fd (patch) | |
tree | 66c2fd4a14f4f9a8668499b17e3630f49809f297 /engines/sword2 | |
parent | 643c24db75797728087999abd8acf1ecc83757fa (diff) | |
download | scummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.tar.gz scummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.tar.bz2 scummvm-rg350-5aff87dc153f392cb14423efa78a96397789a6fd.zip |
ENGINES: Turn GameDescriptor into a simple struct
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/sword2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index f9e308ca63..67f6904cbe 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -284,7 +284,7 @@ Common::Error Sword2MetaEngine::createInstance(OSystem *syst, Engine **engine) c DetectedGames detectedGames = detectGames(fslist); for (uint i = 0; i < detectedGames.size(); i++) { - if (detectedGames[i].matchedGame.gameid() == gameid) { + if (detectedGames[i].matchedGame.gameId == gameid) { *engine = new Sword2::Sword2Engine(syst); return Common::kNoError; } |