From 581031a55d35f50f11819e9738f886945f026293 Mon Sep 17 00:00:00 2001 From: athrxx Date: Mon, 22 Apr 2013 21:22:28 +0200 Subject: KYRA: (EOB) - fix bug #3596547 (EOB1: Door Buttons Don't Work) --- engines/kyra/scene_eob.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/kyra/scene_eob.cpp b/engines/kyra/scene_eob.cpp index 45de232cb6..cfac5db8b3 100644 --- a/engines/kyra/scene_eob.cpp +++ b/engines/kyra/scene_eob.cpp @@ -86,6 +86,10 @@ void EoBCoreEngine::loadLevel(int level, int sub) { pos += 2; } + // WORKAROUND for bug #3596547 (EOB1: Door Buttons Don't Work) + if (_flags.gameID == GI_EOB1 && level == 7 && _levelBlockProperties[0x035C].assignedObjects == 0x0E89) + _levelBlockProperties[0x035C].assignedObjects = 0x0E8D; + loadVcnData(gfxFile.c_str(), (_flags.gameID == GI_EOB1) ? _cgaMappingLevel[_cgaLevelMappingIndex[level - 1]] : 0); _screen->loadEoBBitmap("INVENT", _cgaMappingInv, 5, 3, 2); delayUntil(end); -- cgit v1.2.3