aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-19 22:47:25 +0530
committerEugene Sandulenko2019-09-03 17:17:24 +0200
commit6d3856cd9405eb9246c53ce2d345e6b59bd316da (patch)
tree087129b15c1e8cefccc84165ae2d26b24aa55fd6 /engines
parent9d45057630a7351afb642a8bce96bfaa86dc4aa2 (diff)
downloadscummvm-rg350-6d3856cd9405eb9246c53ce2d345e6b59bd316da.tar.gz
scummvm-rg350-6d3856cd9405eb9246c53ce2d345e6b59bd316da.tar.bz2
scummvm-rg350-6d3856cd9405eb9246c53ce2d345e6b59bd316da.zip
HDB: Add Patches for Map10
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index cb551767be..3f49df9faa 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -54,6 +54,8 @@ struct ScriptPatch {
{"MAP01.LUA", "if( covert_index < getn(covert_dialog) ) then", "if( covert_index < #covert_dialog ) then"},
{"MAP01.LUA", "if( chiste_index < getn( chiste_dialog ) )then", "if( covert_index < #covert_dialog ) then"},
{"MAP01.LUA", "strsub(", "string.sub("}, // line 23
+ {"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"},
{NULL, NULL, NULL},
};