aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-04-26 22:17:54 -0400
committerPaul Gilbert2018-04-26 22:17:54 -0400
commitf125ffb89c59f9f8ad56090f151cc09f52c9f76f (patch)
tree9a680fdbdb679e24d512892ea3b6eb432f43b19d
parent66b8bfb98e9eed5cc0169432f9ceafc96d82b00a (diff)
downloadscummvm-rg350-f125ffb89c59f9f8ad56090f151cc09f52c9f76f.tar.gz
scummvm-rg350-f125ffb89c59f9f8ad56090f151cc09f52c9f76f.tar.bz2
scummvm-rg350-f125ffb89c59f9f8ad56090f151cc09f52c9f76f.zip
XEEN: Script patch for Dark Tower statue setting invalid world flag
-rw-r--r--engines/xeen/patcher.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/xeen/patcher.cpp b/engines/xeen/patcher.cpp
index 280724cb78..5c2442cb1e 100644
--- a/engines/xeen/patcher.cpp
+++ b/engines/xeen/patcher.cpp
@@ -37,11 +37,13 @@ struct ScriptEntry {
const byte DS_MAP54_LINE8[] = { 8, 10, 10, DIR_EAST, 8, OP_MoveWallObj, 20, 100, 100 };
const byte SW_MAP53_LINE8[] = { 5, 14, 6, DIR_EAST, 8, OP_Exit };
+const byte DS_MAP116[] = { 9, 10, 6, 4, 2, OP_TakeOrGive, 0, 0, 103, 127 };
-#define SCRIPT_PATCHES_COUNT 2
+#define SCRIPT_PATCHES_COUNT 3
static const ScriptEntry SCRIPT_PATCHES[] = {
{ GType_DarkSide, 54, DS_MAP54_LINE8 }, // Fix curtain on level 2 of Ellinger's Tower
- { GType_Swords, 53, SW_MAP53_LINE8 } // Fix chest in Hart having gems, but saying "Nothing Here"
+ { GType_Swords, 53, SW_MAP53_LINE8 }, // Fix chest in Hart having gems, but saying "Nothing Here"
+ { GType_DarkSide, 116, DS_MAP116 } // Fix statue in Dark Tower setting invalid world flag
};
/*------------------------------------------------------------------------*/