diff options
author | Nipun Garg | 2019-07-19 23:14:14 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:24 +0200 |
commit | f02bc1da84a722d74835ff289babd8ee4713ca08 (patch) | |
tree | 43a17b6df1301fb5a88187c6c3a421fdf6f4a75c | |
parent | c10034df933b4213ff89bc28757d64831d8c5873 (diff) | |
download | scummvm-rg350-f02bc1da84a722d74835ff289babd8ee4713ca08.tar.gz scummvm-rg350-f02bc1da84a722d74835ff289babd8ee4713ca08.tar.bz2 scummvm-rg350-f02bc1da84a722d74835ff289babd8ee4713ca08.zip |
HDB: Add Lua Patch for Map11
-rw-r--r-- | engines/hdb/lua-script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 3f49df9faa..eb62114209 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -56,6 +56,7 @@ struct ScriptPatch { {"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"}, + {"MAP11.LUA", "mapstring = strsub( LASTMAP, 1, 5 )", "mapstring = string.sub( LASTMAP, 1, 5 )"}, {NULL, NULL, NULL}, }; |