From 5cba33c0526120d46b73531328d54d6f88c73201 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 16 Apr 2018 07:40:59 -0400 Subject: XEEN: Add script patch for chest in Swords Hart --- engines/xeen/patcher.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/engines/xeen/patcher.cpp b/engines/xeen/patcher.cpp index 384b90ee9a..280724cb78 100644 --- a/engines/xeen/patcher.cpp +++ b/engines/xeen/patcher.cpp @@ -35,11 +35,13 @@ struct ScriptEntry { const byte *_data; }; -const byte MAP54_LINE8[] = { 8, 10, 10, DIR_EAST, 8, OP_MoveWallObj, 20, 100, 100 }; +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 }; -#define SCRIPT_PATCHES_COUNT 1 +#define SCRIPT_PATCHES_COUNT 2 static const ScriptEntry SCRIPT_PATCHES[] = { - { GType_DarkSide, 54, MAP54_LINE8 } + { 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" }; /*------------------------------------------------------------------------*/ -- cgit v1.2.3