diff options
author | Filippos Karapetis | 2010-06-24 09:52:08 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-24 09:52:08 +0000 |
commit | 0fb54293181d76d5b84cb7da5ff54c883630bf86 (patch) | |
tree | d33b91e0b8c4e9495803bc15faa28a25657bfd58 /engines/sci/engine/kgraphics.cpp | |
parent | aa0c86e7557fbe68d33dec52139015562004742f (diff) | |
download | scummvm-rg350-0fb54293181d76d5b84cb7da5ff54c883630bf86.tar.gz scummvm-rg350-0fb54293181d76d5b84cb7da5ff54c883630bf86.tar.bz2 scummvm-rg350-0fb54293181d76d5b84cb7da5ff54c883630bf86.zip |
Initialize the stack with 'S' or 's' characters, like SSCI does (ultimately, we should not change the stack again like we do in op_link - this is what Sierra is doing). Some cleanup
svn-id: r50207
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index bc278a2bb1..eaef049951 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -540,7 +540,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 (g_sci->getGameId() == "lsl1sci" && s->currentRoomNumber() == 300) { + if (s->currentRoomNumber() == 300 && g_sci->getGameId() == "lsl1sci") { int top = readSelectorValue(s->_segMan, object, SELECTOR(brTop)); writeSelectorValue(s->_segMan, object, SELECTOR(brTop), top + 2); } |