aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-05 23:14:42 +0000
committerFilippos Karapetis2010-09-05 23:14:42 +0000
commitfddb0f6c1536d3e75223740de64c552e5d480433 (patch)
tree0f051e31b9b32b4cdb4ef8ec3858289ba52ed944 /engines/sci/engine
parentf69bfaf355b2544bf8ca8cc6cf3209773b8ad005 (diff)
downloadscummvm-rg350-fddb0f6c1536d3e75223740de64c552e5d480433.tar.gz
scummvm-rg350-fddb0f6c1536d3e75223740de64c552e5d480433.tar.bz2
scummvm-rg350-fddb0f6c1536d3e75223740de64c552e5d480433.zip
Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"
The fix is partial, as the game will crash when losing and attempting to restart (for a different reason - there's an issue when uninstantiating a script) svn-id: r52581
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/workarounds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 8e3640c490..30e2bb8bb4 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -107,6 +107,7 @@ const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_ECOQUEST, -1, -1, 0, NULL, "doVerb", -1, 0, { WORKAROUND_FAKE, 0 } }, // almost clicking anywhere triggers this in almost all rooms
{ GID_FANMADE, 516, 979, 0, "", "export 0", -1, 20, { WORKAROUND_FAKE, 0 } }, // Happens in Grotesteing after the logos
{ GID_FANMADE, 528, 990, 0, "GDialog", "doit", -1, 4, { WORKAROUND_FAKE, 0 } }, // Happens in Cascade Quest when closing the glossary - bug #3038757
+ { GID_FANMADE, 488, 1, 0, "RoomScript", "doit", 0x1f17, 1, { WORKAROUND_FAKE, 0 } }, // Happens in Ocean Battle while playing - bug #3059871
{ GID_FREDDYPHARKAS, -1, 24, 0, "gcWin", "open", -1, 5, { WORKAROUND_FAKE, 0xf } }, // is used as priority for game menu
{ GID_FREDDYPHARKAS, -1, 31, 0, "quitWin", "open", -1, 5, { WORKAROUND_FAKE, 0xf } }, // is used as priority for game menu
{ GID_FREDDYPHARKAS, 540, 540, 0, "WaverCode", "init", -1, -1, { WORKAROUND_FAKE, 0 } }, // Gun pratice mini-game (bug #3044218)