diff options
author | Florian Kagerer | 2009-06-02 06:19:41 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-06-02 06:19:41 +0000 |
commit | 7b31585e39ffc7afa5a9269aa4b5f659b0b056c3 (patch) | |
tree | 92ba8a1c465afbdc1218a80f4d75e333490a0dc0 /engines | |
parent | d532328dd43b9fcd269310edf8b7ba5d099c2f20 (diff) | |
download | scummvm-rg350-7b31585e39ffc7afa5a9269aa4b5f659b0b056c3.tar.gz scummvm-rg350-7b31585e39ffc7afa5a9269aa4b5f659b0b056c3.tar.bz2 scummvm-rg350-7b31585e39ffc7afa5a9269aa4b5f659b0b056c3.zip |
LOL: - fixed script bug reported by LordHoto
svn-id: r41122
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/script_lol.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp index 7ffdabc850..1b06c5af5b 100644 --- a/engines/kyra/script_lol.cpp +++ b/engines/kyra/script_lol.cpp @@ -1499,6 +1499,14 @@ int LoLEngine::olol_objectLeavesLevel(EMCState *script) { int includeMonsters = stackPos(3); int includeItems = stackPos(5); + // WORKAROUND for script bug + // Items would vanish when thrown towards the stairs + // in white tower level 3. + if (_currentLevel == 21 && level == 21 && block == 0x3e0) { + level = 20; + block = 0x0247; + } + while (o) { int l = o; o = findObject(o)->nextAssignedObject; |