aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-04-04 07:38:42 +0300
committerFilippos Karapetis2012-04-04 07:41:44 +0300
commit793dcda650478ff56d4a6125fbd37f729a70bc8b (patch)
treeb716d12fb547b51867981b0023a634e87d52cd4f
parentd50e34c1bd1152170737bea6bd85c08566426eb6 (diff)
downloadscummvm-rg350-793dcda650478ff56d4a6125fbd37f729a70bc8b.tar.gz
scummvm-rg350-793dcda650478ff56d4a6125fbd37f729a70bc8b.tar.bz2
scummvm-rg350-793dcda650478ff56d4a6125fbd37f729a70bc8b.zip
SCI: Bugfix for the GetAngle workarounds
Return a fake value instead of leaving random values in the accumulator
-rw-r--r--engines/sci/engine/workarounds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index d7ade85173..4a0aea81ff 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -250,9 +250,9 @@ const SciWorkaroundEntry kDoSoundFade_workarounds[] = {
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry kGetAngle_workarounds[] = {
- { GID_FANMADE, 516, 992, 0, "Motion", "init", -1, 0, { WORKAROUND_IGNORE, 0 } }, // The Legend of the Lost Jewel Demo (fan made): called with third/fourth parameters as objects
+ { GID_FANMADE, 516, 992, 0, "Motion", "init", -1, 0, { WORKAROUND_FAKE, 0 } }, // The Legend of the Lost Jewel Demo (fan made): called with third/fourth parameters as objects
{ GID_KQ6, -1, 752, 0, "throwDazzle", "changeState", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // room 740/790 after the Genie is exposed in the Palace (short and long ending), it starts shooting lightning bolts around. An extra 5th parameter is passed - bug #3034610 & #3041734
- { GID_SQ1, -1, 927, 0, "PAvoider", "doit", -1, 0, { WORKAROUND_IGNORE, 0 } }, // all rooms in Ulence Flats after getting the Pilot Droid: called with a single parameter when the droid is in Roger's path - bug #3513207
+ { GID_SQ1, -1, 927, 0, "PAvoider", "doit", -1, 0, { WORKAROUND_FAKE, 0 } }, // all rooms in Ulence Flats after getting the Pilot Droid: called with a single parameter when the droid is in Roger's path - bug #3513207
SCI_WORKAROUNDENTRY_TERMINATOR
};