aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorsluicebox2019-12-29 12:31:16 -0800
committersluicebox2019-12-29 12:31:16 -0800
commit4c66ee35e13482dfc610b2bb42b249daa680f62c (patch)
tree4d7109aed73a2fd4cc17530983ba7fc1b97502ab /engines
parentd613fae5927ae6a2a6e2fe73706d58ac22834f78 (diff)
downloadscummvm-rg350-4c66ee35e13482dfc610b2bb42b249daa680f62c.tar.gz
scummvm-rg350-4c66ee35e13482dfc610b2bb42b249daa680f62c.tar.bz2
scummvm-rg350-4c66ee35e13482dfc610b2bb42b249daa680f62c.zip
SCI32: Fix unforgivable typos
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/script_patches.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 5baade9ff4..87054b81b0 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -3388,14 +3388,14 @@ static const uint16 gk2BenchmarkPatch[] = {
PATCH_END
};
-// Clicking an inventory item on the Wager paintings in rooms 8616 and 8617
+// Clicking an inventory item on the Wagner paintings in rooms 8616 and 8617
// causes a missing message error. The paintings only have responses for the
// "Do" verb but painting:doVerb passes the incoming verb to gk2Messager:say
// without any filtering. We fix this by always playing the "Do" message.
//
// Applies to: All versions
// Responsible methods: painting:doVerb in scripts 8616 and 8617
-static const uint16 gk2WagerPaintingMessageSignature[] = {
+static const uint16 gk2WagnerPaintingMessageSignature[] = {
SIG_MAGICDWORD,
0x38, SIG_SELECTOR16(say), // pushi say
0x38, SIG_UINT16(0x0006), // pushi 0006
@@ -3404,7 +3404,7 @@ static const uint16 gk2WagerPaintingMessageSignature[] = {
SIG_END,
};
-static const uint16 gk2WagerPaintingMessagePatch[] = {
+static const uint16 gk2WagnerPaintingMessagePatch[] = {
PATCH_ADDTOOFFSET(+8),
0x39, 0x3e, // pushi 3e [ "Do" verb ]
PATCH_END
@@ -3412,14 +3412,14 @@ static const uint16 gk2WagerPaintingMessagePatch[] = {
// script, description, signature patch
static const SciScriptPatcherEntry gk2Signatures[] = {
- { true, 0, "disable volume reset on startup", 1, gk2VolumeResetSignature, gk2VolumeResetPatch },
- { true, 0, "disable video benchmarking", 1, gk2BenchmarkSignature, gk2BenchmarkPatch },
- { true, 23, "fix inventory scroll start direction", 1, gk2InvScrollSignature, gk2InvScrollPatch },
- { true, 8616, "fix wagner painting message", 2, gk2WagerPaintingMessageSignature, gk2WagerPaintingMessagePatch },
- { true, 8617, "fix wagner painting message", 2, gk2WagerPaintingMessageSignature, gk2WagerPaintingMessagePatch },
- { true, 64990, "increase number of save games (1/2)", 1, sci2NumSavesSignature1, sci2NumSavesPatch1 },
- { true, 64990, "increase number of save games (2/2)", 1, sci2NumSavesSignature2, sci2NumSavesPatch2 },
- { true, 64990, "disable change directory button", 1, sci2ChangeDirSignature, sci2ChangeDirPatch },
+ { true, 0, "disable volume reset on startup", 1, gk2VolumeResetSignature, gk2VolumeResetPatch },
+ { true, 0, "disable video benchmarking", 1, gk2BenchmarkSignature, gk2BenchmarkPatch },
+ { true, 23, "fix inventory scroll start direction", 1, gk2InvScrollSignature, gk2InvScrollPatch },
+ { true, 8616, "fix wagner painting message", 2, gk2WagnerPaintingMessageSignature, gk2WagnerPaintingMessagePatch },
+ { true, 8617, "fix wagner painting message", 2, gk2WagnerPaintingMessageSignature, gk2WagnerPaintingMessagePatch },
+ { true, 64990, "increase number of save games (1/2)", 1, sci2NumSavesSignature1, sci2NumSavesPatch1 },
+ { true, 64990, "increase number of save games (2/2)", 1, sci2NumSavesSignature2, sci2NumSavesPatch2 },
+ { true, 64990, "disable change directory button", 1, sci2ChangeDirSignature, sci2ChangeDirPatch },
SCI_SIGNATUREENTRY_TERMINATOR
};