diff options
Diffstat (limited to 'engines/cruise/detection.cpp')
-rw-r--r-- | engines/cruise/detection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp index 80890de1ea..fc1d864a56 100644 --- a/engines/cruise/detection.cpp +++ b/engines/cruise/detection.cpp @@ -118,7 +118,8 @@ REGISTER_PLUGIN(CRUISE, "Cinematique evo 2 engine", "Cruise for a Corpse (C) Del namespace Cruise { bool CruiseEngine::initGame() { - _gameDescription = (const CRUISEGameDescription *)Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + Common::EncapsulatedADGameDesc encapsulatedDesc = Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + _gameDescription = (const CRUISEGameDescription *)(encapsulatedDesc.realDesc); return (_gameDescription != 0); } |