diff options
author | Max Horn | 2010-06-25 16:16:29 +0000 |
---|---|---|
committer | Max Horn | 2010-06-25 16:16:29 +0000 |
commit | 6ee82a20276d213a06d43ff731d197f5a92a09d7 (patch) | |
tree | d9bc631c10aa56d2ba6d47b2cdcb644696fee0a4 /engines/sci/engine/kmisc.cpp | |
parent | 23d384e6b88f4023b9150401a70a4efdf9bae018 (diff) | |
download | scummvm-rg350-6ee82a20276d213a06d43ff731d197f5a92a09d7.tar.gz scummvm-rg350-6ee82a20276d213a06d43ff731d197f5a92a09d7.tar.bz2 scummvm-rg350-6ee82a20276d213a06d43ff731d197f5a92a09d7.zip |
SCI: Introduce SciGameId enum
svn-id: r50273
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 4dd7df1b52..f742734ad7 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -60,9 +60,9 @@ reg_t kGameIsRestarting(EngineState *s, int argc, reg_t *argv) { // throttling resulting in having to do 1000 pushups or something. Another // way of handling this would be delaying incrementing of "machineSpeed" // selector. - if (g_sci->getGameId() == "lsl3" && s->currentRoomNumber() == 290) + if (g_sci->getGameId() == GID_LSL3 && s->currentRoomNumber() == 290) s->_throttleTrigger = true; - else if (g_sci->getGameId() == "iceman" && s->currentRoomNumber() == 27) { + else if (g_sci->getGameId() == GID_ICEMAN && s->currentRoomNumber() == 27) { s->_throttleTrigger = true; neededSleep = 60; } |