mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
LOL: - fixed script bug reported by LordHoto
svn-id: r41122
This commit is contained in:
parent
d532328dd4
commit
7b31585e39
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user