diff options
| author | Max Horn | 2003-03-01 20:39:17 +0000 |
|---|---|---|
| committer | Max Horn | 2003-03-01 20:39:17 +0000 |
| commit | 3c3812d754c4c17039df0cce9751d52ed3085d4e (patch) | |
| tree | 61d0fdff342d9aadf5b7f40a364a5c62f9bd2432 | |
| parent | e0d71afcb99cbf387519e2292768b9c837a07c80 (diff) | |
| download | scummvm-rg350-3c3812d754c4c17039df0cce9751d52ed3085d4e.tar.gz scummvm-rg350-3c3812d754c4c17039df0cce9751d52ed3085d4e.tar.bz2 scummvm-rg350-3c3812d754c4c17039df0cce9751d52ed3085d4e.zip | |
no need for a hack if include gameDetector.h anyway...
svn-id: r6650
| -rw-r--r-- | common/engine.cpp | 1 | ||||
| -rw-r--r-- | simon/simon.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/common/engine.cpp b/common/engine.cpp index 2ccc9a9a4a..f507629771 100644 --- a/common/engine.cpp +++ b/common/engine.cpp @@ -83,7 +83,6 @@ Engine *Engine::createFromDetector(GameDetector *detector, OSystem *syst) if (detector->_gameId >= GID_SIMON_FIRST && detector->_gameId <= GID_SIMON_LAST) { // Simon the Sorcerer - detector->_gameId -= GID_SIMON_FIRST; engine = Engine_SIMON_create(detector, syst); } else { // Some kind of Scumm game diff --git a/simon/simon.cpp b/simon/simon.cpp index 3e018434fc..cc6bcfb646 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -166,7 +166,7 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst) driver = MidiDriver_NULL_create(); midi.set_driver(driver); - _game = detector->_gameId; + _game = detector->_gameId - GID_SIMON_FIRST; /* Setup mixer */ if (!_mixer->bindToSystem(syst)) |
