diff options
author | Eugene Sandulenko | 2019-07-20 11:51:18 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:25 +0200 |
commit | 409a62352b4d6b98fa52c765f8e746d65ba15645 (patch) | |
tree | b964829fef8752ded2431931e87e07a4191cb15d /engines/hdb | |
parent | 29884079360ef57f97d43ed1e1b9dd460f5b52ac (diff) | |
download | scummvm-rg350-409a62352b4d6b98fa52c765f8e746d65ba15645.tar.gz scummvm-rg350-409a62352b4d6b98fa52c765f8e746d65ba15645.tar.bz2 scummvm-rg350-409a62352b4d6b98fa52c765f8e746d65ba15645.zip |
HDB: Add one more patch to GLOBAL.LUA
The call first occurs in MAP11.LUA when entering the lab
Diffstat (limited to 'engines/hdb')
-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 39ad12fc56..843cf09586 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -49,6 +49,7 @@ struct ScriptPatch { {"GLOBAL.LUA", "for dlgname,dlgdata in npcdata.dialog do", "for dlgname,dlgdata in pairs(npcdata.dialog) do"}, // Line 67 {"GLOBAL.LUA", "s = format( \"npcs.%s.dialog.%s.counter", "s = string.format( \"npcs.%s.dialog.%s.counter"}, // Line 68 {"GLOBAL.LUA", "s = format( \"npcs.%s.dialog.%s.finished = ", "s = string.format( \"npcs.%s.dialog.%s.finished = "}, // line 70 + {"GLOBAL.LUA", "local mapname = format( \"MAP", "local mapname = string.format( \"MAP"}, // line 225 {"MAP00.LUA", "tempfunc = function() emptybed_use( %x, %y, %v1, %v2 ) end", "tempfunc = function() emptybed_use(x, y, v1, v2) end"}, // line 926 {"MAP00.LUA", "if( getn( beds ) == 0 ) then", "if( #beds == 0 ) then"}, // line 924 {"MAP01.LUA", "if( covert_index < getn(covert_dialog) ) then", "if( covert_index < #covert_dialog ) then"}, // line 766 |