diff options
author | Eugene Sandulenko | 2019-07-20 12:05:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:25 +0200 |
commit | 9370c0a4f37ac3e88d67a0aab4e9d615b96ee414 (patch) | |
tree | fc859de7eca238ca9e746f5fea17fd78aa86d636 | |
parent | 74e6168e0a35e9f71a571987e09998209e2cf6cb (diff) | |
download | scummvm-rg350-9370c0a4f37ac3e88d67a0aab4e9d615b96ee414.tar.gz scummvm-rg350-9370c0a4f37ac3e88d67a0aab4e9d615b96ee414.tar.bz2 scummvm-rg350-9370c0a4f37ac3e88d67a0aab4e9d615b96ee414.zip |
HDB: Added script patches for MAP19.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 28ae8f513b..b227adab43 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -61,6 +61,9 @@ struct ScriptPatch { {"MAP10.LUA", "if( getn( beds ) == 0 ) then", "if( #beds == 0 ) then"}, // line 119 {"MAP10.LUA", "emptybed_use( %x, %y, %v1, %v2 )", "emptybed_use( x, y, v1, v2 )"}, // line 121 + {"MAP19.LUA", "func = getglobal( \"frustrato_nice\"..tostring(frustrato_stage) )", "func = _G[ \"frustrato_nice\"..tostring(frustrato_stage) ]"}, // line 296 + {"MAP19.LUA", "func = getglobal( \"frustrato_choice\"..tostring(frustrato_stage + 1) )", "func = _G[ \"frustrato_choice\"..tostring(frustrato_stage + 1) ]"}, // line 298 + {"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 |