Fix nether guide crash with last minetest backport-0.4 branch

This commit is contained in:
Sys Quatre 2018-04-01 05:25:24 +02:00
parent cd38b16f84
commit 5afa7f4a23
12 changed files with 12 additions and 12 deletions

@ -1 +1 @@
Subproject commit 85499b1c096701cd5a0881ab04ddebda42747fb4
Subproject commit a3cf3fd5550948e53d8e37b4a0b90256b4b08c75

@ -1 +1 @@
Subproject commit 1af554e7669969abb42e6d2669a8abed30ddacfe
Subproject commit 86a177fbec7d548a1b8a83a927832c5678343347

@ -1 +1 @@
Subproject commit fceb4bb696b68e9236e884e98c001302df11ec43
Subproject commit 8b73f9e11de14aa6871b1e8944777da5f602ee70

@ -1 +1 @@
Subproject commit 4d9c4c2410cac3d7f3ab83d66121f830f826cc0c
Subproject commit bfda7c49fdde4ef9f48fc73976ef2193541173d0

@ -1 +1 @@
Subproject commit d4e9de50a98544923be71f5be49139ed25e52cfc
Subproject commit ca4b20ddcc5bf55115c16760af76db023c1d86f3

@ -1 +1 @@
Subproject commit d8f82e6771dc21122a59b3f65dbeb102dab2c372
Subproject commit f70a308bb0bddefe963a6b82016f67d3be122069

@ -1 +1 @@
Subproject commit f6e0db21b2e6dcd895cd81a8c3cb665e2f22f0a8
Subproject commit 8ff1cb598f79d5b34957b40b4c9ad6afcf7376a7

@ -1 +1 @@
Subproject commit 99a57d45d88796e0e5b2148ac3f90962dfa09a68
Subproject commit e50862606ed359ce132bfefa2f7e7752961b0aae

View File

@ -317,7 +317,7 @@ for n,data in ipairs(guide_infos) do
elseif typ == "text" then
local wrap_func = minetest.wrap_text
if not wrap_func then wrap_func = minetest.splittext end
local tab = wrap_func(content, guide_size.fx)
local tab = wrap_func(content, guide_size.fx, true)
local l = guide_size.cx
for _,str in ipairs(tab) do
form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]"

@ -1 +1 @@
Subproject commit cb692d21881541df2fca011ecdfbc43c127787ea
Subproject commit cb5530c6c82a4e3409780d93d513dd32c68c4dec

@ -1 +1 @@
Subproject commit 215de5487bd9888efc3723e3926fcf0d8a0e6ae4
Subproject commit 689766f15aad5186b35d21942ff853a7c2fc65bf

@ -1 +1 @@
Subproject commit 3f94d76e53608cf7cc0a48faf9a0cccbb74a1eb3
Subproject commit 84467b0f7433db7370877e11d40181b236ff6db8