aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmisc.cpp
diff options
context:
space:
mode:
authorMax Horn2010-06-17 23:14:34 +0000
committerMax Horn2010-06-17 23:14:34 +0000
commit359be0c0665d9fed898ad1c511614a76ee92e331 (patch)
tree8baf169c9b18f86f8d855cf8927cb8177e9d7606 /engines/sci/engine/kmisc.cpp
parent78cd1aa145fb454de67444ef58bed6381ce2396c (diff)
downloadscummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.tar.gz
scummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.tar.bz2
scummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.zip
SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r--engines/sci/engine/kmisc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 99b268f774..525f9f5bf4 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -59,9 +59,9 @@ reg_t kGameIsRestarting(EngineState *s, int argc, reg_t *argv) {
// LSL3 calculates a machinespeed variable during game startup (right after the filthy questions)
// This one would go through w/o throttling resulting in having to do 1000 pushups or something
// Another way of handling this would be delaying incrementing of "machineSpeed" selector
- if (!strcmp(g_sci->getGameID(), "lsl3") && s->currentRoomNumber() == 290)
+ if (g_sci->getGameId() == "lsl3" && s->currentRoomNumber() == 290)
s->_throttleTrigger = true;
- if (!strcmp(g_sci->getGameID(), "iceman") && s->currentRoomNumber() == 27) {
+ if (g_sci->getGameId() == "iceman" && s->currentRoomNumber() == 27) {
s->_throttleTrigger = true;
neededSleep = 60;
}