aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-19 20:50:59 +0200
committerEugene Sandulenko2019-09-03 17:17:24 +0200
commit442835b55573855a9aac8495388ec8406c130fd3 (patch)
tree92706b696f81b3b0e0713e2572f44afd2f296392 /engines
parentada43165a17ae817c94e9d84e49be6d05235b99f (diff)
downloadscummvm-rg350-442835b55573855a9aac8495388ec8406c130fd3.tar.gz
scummvm-rg350-442835b55573855a9aac8495388ec8406c130fd3.tar.bz2
scummvm-rg350-442835b55573855a9aac8495388ec8406c130fd3.zip
HDB: Added script patch from MAP21.LUA
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index eb62114209..26cd38848d 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -57,7 +57,8 @@ struct ScriptPatch {
{"MAP10.LUA", "emptybed_use( %x, %y, %v1, %v2 )", "emptybed_use( x, y, v1, v2 )"},
{"MAP10.LUA", "if( getn( beds ) == 0 ) then", "if( #beds == 0 ) then"},
{"MAP11.LUA", "mapstring = strsub( LASTMAP, 1, 5 )", "mapstring = string.sub( LASTMAP, 1, 5 )"},
- {NULL, NULL, NULL},
+ {"MAP21.LUA", "mapstring = strsub( LASTMAP, 1, 5 )", "mapstring = string.sub( LASTMAP, 1, 5 )"}, // line 105
+ {NULL, NULL, NULL}
};
LuaScript::LuaScript() {