aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-23 00:41:09 +0200
committerEugene Sandulenko2019-09-03 17:17:26 +0200
commitb776651e454c438a1d14942efcaf37d4a9f58b97 (patch)
tree5f401fdb659d241c4a0f97039952fab5a60f8b9d
parentf94d1532758ab8fe2bb8e48f82792055c8b699b3 (diff)
downloadscummvm-rg350-b776651e454c438a1d14942efcaf37d4a9f58b97.tar.gz
scummvm-rg350-b776651e454c438a1d14942efcaf37d4a9f58b97.tar.bz2
scummvm-rg350-b776651e454c438a1d14942efcaf37d4a9f58b97.zip
HDB: More script patches to MAP30.LUA
-rw-r--r--engines/hdb/lua-script.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 1776ab7d72..abe3c3f78c 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -76,11 +76,14 @@ struct ScriptPatch {
{"MAP29.LUA", "Message( format( \"", "Message( string.format( \""}, // line 195
+ {"MAP30.LUA", "rots = 19 + random( 6 )", "rots = 19 + math.random( 6 )"}, // line 208
{"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
+ {"MAP30.LUA", "rots = 13 + random( 4 )", "rots = 13 + math.random( 4 )"}, // line 234
{"MAP30.LUA", "if i2 > getn(tiles)", "if i2 > #tiles"}, // line 237
{"MAP30.LUA", "if i3 > getn(tiles)", "if i3 > #tiles"}, // line 238
+ {"MAP30.LUA", "rots = 13 + random( 4 )", "rots = 13 + math.random( 4 )"}, // line 258
{"MAP30.LUA", "if i3 > getn(tiles)", "if i3 > #tiles"}, // line 261
{NULL, NULL, NULL}