aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-21 20:11:09 +0530
committerEugene Sandulenko2019-09-03 17:17:26 +0200
commit933089dcba9ae5cc6eb4ac39adc838a87e48e8a8 (patch)
treeee613ac3ab555034329d9a1e86c4856654bd80fd
parent1b9e2f36f1727ba8032e6227c57f697b66327295 (diff)
downloadscummvm-rg350-933089dcba9ae5cc6eb4ac39adc838a87e48e8a8.tar.gz
scummvm-rg350-933089dcba9ae5cc6eb4ac39adc838a87e48e8a8.tar.bz2
scummvm-rg350-933089dcba9ae5cc6eb4ac39adc838a87e48e8a8.zip
HDB: Patch misplaced function names
-rw-r--r--engines/hdb/lua-script.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index b227adab43..b61276d2df 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -61,6 +61,12 @@ struct ScriptPatch {
{"MAP10.LUA", "if( getn( beds ) == 0 ) then", "if( #beds == 0 ) then"}, // line 119
{"MAP10.LUA", "emptybed_use( %x, %y, %v1, %v2 )", "emptybed_use( x, y, v1, v2 )"}, // line 121
+ {"MAP15.LUA", "function cop5_5b()", "function cop5_4b()"}, // line 112
+ {"MAP15.LUA", "function cop5_5c()", "function cop5_4c()"}, // line 115
+ {"MAP15.LUA", "function cop5_5d()", "function cop5_4d()"}, // line 118
+ {"MAP15.LUA", "function cop5_5e()", "function cop5_4e()"}, // line 121
+ {"MAP15.LUA", "function cop5_5f()", "function cop5_4f()"}, // line 124
+
{"MAP19.LUA", "func = getglobal( \"frustrato_nice\"..tostring(frustrato_stage) )", "func = _G[ \"frustrato_nice\"..tostring(frustrato_stage) ]"}, // line 296
{"MAP19.LUA", "func = getglobal( \"frustrato_choice\"..tostring(frustrato_stage + 1) )", "func = _G[ \"frustrato_choice\"..tostring(frustrato_stage + 1) ]"}, // line 298