diff options
Diffstat (limited to 'common/engine.cpp')
-rw-r--r-- | common/engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/engine.cpp b/common/engine.cpp index dd6e208a88..d68b9e46da 100644 --- a/common/engine.cpp +++ b/common/engine.cpp @@ -82,21 +82,21 @@ Engine *Engine::createFromDetector(GameDetector *detector, OSystem *syst) { Engine *engine = NULL; #ifndef DISABLE_SCUMM - if (detector->_gameId >= GID_SCUMM_FIRST && detector->_gameId <= GID_SCUMM_LAST) { + if (detector->_game.id >= GID_SCUMM_FIRST && detector->_game.id <= GID_SCUMM_LAST) { // Some kind of Scumm game engine = Engine_SCUMM_create(detector, syst); } #endif #ifndef DISABLE_SIMON - if (detector->_gameId >= GID_SIMON_FIRST && detector->_gameId <= GID_SIMON_LAST) { + if (detector->_game.id >= GID_SIMON_FIRST && detector->_game.id <= GID_SIMON_LAST) { // Simon the Sorcerer engine = Engine_SIMON_create(detector, syst); } #endif #ifndef DISABLE_SKY - if (detector->_gameId >= GID_SKY_FIRST && detector->_gameId <= GID_SKY_LAST) { + if (detector->_game.id >= GID_SKY_FIRST && detector->_game.id <= GID_SKY_LAST) { // Beneath a Steel Sky engine = Engine_SKY_create(detector, syst); } |