aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
authorBastien Bouclet2017-12-03 12:19:08 +0100
committerBastien Bouclet2018-05-10 09:04:23 +0200
commit5aff87dc153f392cb14423efa78a96397789a6fd (patch)
tree66c2fd4a14f4f9a8668499b17e3630f49809f297 /engines/sword2
parent643c24db75797728087999abd8acf1ecc83757fa (diff)
downloadscummvm-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.cpp2
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;
}