aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
diff options
context:
space:
mode:
authorMax Horn2010-06-25 16:16:29 +0000
committerMax Horn2010-06-25 16:16:29 +0000
commit6ee82a20276d213a06d43ff731d197f5a92a09d7 (patch)
treed9bc631c10aa56d2ba6d47b2cdcb644696fee0a4 /engines/sci/engine/kgraphics.cpp
parent23d384e6b88f4023b9150401a70a4efdf9bae018 (diff)
downloadscummvm-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/kgraphics.cpp')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 756ac6ffcb..b1cd1451d1 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -541,7 +541,7 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
// till the actual problem is found
- if (s->currentRoomNumber() == 300 && g_sci->getGameId() == "lsl1sci") {
+ if (s->currentRoomNumber() == 300 && g_sci->getGameId() == GID_LSL1) {
int top = readSelectorValue(s->_segMan, object, SELECTOR(brTop));
writeSelectorValue(s->_segMan, object, SELECTOR(brTop), top + 2);
}