From c215d85c33b1a983e0cbf860373fbd1b5f2d6000 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 12 Jan 2011 23:33:30 +0000 Subject: SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape" svn-id: r55217 --- engines/sci/engine/workarounds.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sci/engine/workarounds.cpp') diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index 54c47ad8e9..478b487027 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -381,6 +381,12 @@ const SciWorkaroundEntry kMemory_workarounds[] = { SCI_WORKAROUNDENTRY_TERMINATOR }; +// gameID, room,script,lvl, object-name, method-name, call,index, workaround +const SciWorkaroundEntry kMoveCursor_workarounds[] = { + { GID_KQ5, -1, 937, 0, "IconBar", "handleEvent", -1, 0, { WORKAROUND_IGNORE, 0 } }, // when pressing escape to open the menu, gets called with one parameter instead of 2 - bug #3156472 + SCI_WORKAROUNDENTRY_TERMINATOR +}; + // gameID, room,script,lvl, object-name, method-name, call,index, workaround const SciWorkaroundEntry kNewWindow_workarounds[] = { { GID_ECOQUEST, -1, 981, 0, "SysWindow", "open", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // EcoQuest 1 demo uses an in-between interpreter from SCI1 to SCI1.1. It's SCI1.1, but uses the SCI1 semantics for this call - bug #3035057 -- cgit v1.2.3