diff options
author | Eugene Sandulenko | 2019-07-19 21:03:30 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:24 +0200 |
commit | c10fee7393dd0abf08a4c381a7df15aa78fb3562 (patch) | |
tree | 73e0fc2fde057c834f2f1e35f9ad0a9397b58700 | |
parent | 22a9c9ef5cd2d4ba914771e649872e70479dbaa2 (diff) | |
download | scummvm-rg350-c10fee7393dd0abf08a4c381a7df15aa78fb3562.tar.gz scummvm-rg350-c10fee7393dd0abf08a4c381a7df15aa78fb3562.tar.bz2 scummvm-rg350-c10fee7393dd0abf08a4c381a7df15aa78fb3562.zip |
HDB: More Lua script patches to MAP30.LUA
-rw-r--r-- | engines/hdb/lua-script.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index cd2bf0be98..048fd012d6 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -58,6 +58,9 @@ struct ScriptPatch { {"MAP10.LUA", "if( getn( beds ) == 0 ) then", "if( #beds == 0 ) then"}, // line 119 {"MAP11.LUA", "mapstring = strsub( LASTMAP, 1, 5 )", "mapstring = string.sub( LASTMAP, 1, 5 )"}, // line 51 {"MAP21.LUA", "mapstring = strsub( LASTMAP, 1, 5 )", "mapstring = string.sub( LASTMAP, 1, 5 )"}, // line 105 + {"MAP30.LUA", "if i1 > getn(tiles)", "if i1 > #tiles"}, // line 211 + {"MAP30.LUA", "if i2 > getn(tiles)", "if i2 > #tiles"}, // line 212 + {"MAP30.LUA", "if i3 > getn(tiles)", "if i3 > #tiles"}, // line 213 {NULL, NULL, NULL} }; |