From 442835b55573855a9aac8495388ec8406c130fd3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 19 Jul 2019 20:50:59 +0200 Subject: HDB: Added script patch from MAP21.LUA --- engines/hdb/lua-script.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/hdb') 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() { -- cgit v1.2.3