From 0df5a87891d29ea0efdd68e0c89f8bed72875691 Mon Sep 17 00:00:00 2001 From: Justus Wolff Date: Sun, 22 Feb 2026 20:09:58 +0100 Subject: [PATCH] remove optimizestack call --- src/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.lua b/src/main.lua index 79f16e2..9cb06f5 100644 --- a/src/main.lua +++ b/src/main.lua @@ -604,7 +604,7 @@ local function VP_moveto(x,z, cx,cz,direction) VP_movetoy(y, 0) return cx,cz,direction end -local function VP_optimizestack(target) +local function VP_optimizestack(target) -- partly deprecated for not working! -- go from top to bottom and erase false entries until we encounter a true one. local index = #target while #target > 0 do @@ -636,7 +636,7 @@ local function VP_createstack(buf, dimensions) -- ceiling table.insert(tempbuf, buf[posasstring(_cx,cy,_cz)] ~= 2) end - VP_optimizestack(tempbuf) + --VP_optimizestack(tempbuf) if #tempbuf > 0 then out[posasstring(x,z)] = tempbuf end end