aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2017-10-07 19:06:16 +0200
committerMartin Kiewitz2017-10-07 19:06:16 +0200
commit83436e685fe5c0fd05fa49c8e85386a1115dee58 (patch)
treec7b3d4a69f9940006222830235323ad2f70432cc /engines/sci/engine
parenteb1f9030a7f94acae677f6028bd960e157173681 (diff)
downloadscummvm-rg350-83436e685fe5c0fd05fa49c8e85386a1115dee58.tar.gz
scummvm-rg350-83436e685fe5c0fd05fa49c8e85386a1115dee58.tar.bz2
scummvm-rg350-83436e685fe5c0fd05fa49c8e85386a1115dee58.zip
SCI: Improve Larry 1 Spanish script patch
So that it also works even when the patch files are missing.
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script_patches.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 1f6a2d0c3d..f7dc620af4 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -2520,7 +2520,7 @@ static const uint16 larry1SignatureBuyApple[] = {
0x36, // push
0x38, SIG_UINT16(0x0126), // pushi setAvoider
0x78, // push1
- 0x51, 0x6d, // class PAvoider
+ 0x51, SIG_ADDTOOFFSET(+1), // class PAvoider (original 0x25, w/ patch file 0x6d)
0x36, // push
0x38, SIG_UINT16(0x0116), // pushi setMotion
SIG_MAGICDWORD,