change a bit of positioning under VP_printstack
This commit is contained in:
@@ -706,6 +706,9 @@ local function VP_printstack(buf, dimensions, cx,cz,direction)
|
|||||||
for _=1,buf["height"],1 do
|
for _=1,buf["height"],1 do
|
||||||
move("up")
|
move("up")
|
||||||
end
|
end
|
||||||
|
cx,cz,direction = VP_moveto(cx+1,cz, cx,cz,direction)
|
||||||
|
|
||||||
|
local ox,oz = cx,cz
|
||||||
|
|
||||||
for x=1,dimensions["x"],1 do
|
for x=1,dimensions["x"],1 do
|
||||||
for z=1,dimensions["z"],1 do
|
for z=1,dimensions["z"],1 do
|
||||||
@@ -729,6 +732,7 @@ local function VP_printstack(buf, dimensions, cx,cz,direction)
|
|||||||
for _=1,buf["height"],1 do
|
for _=1,buf["height"],1 do
|
||||||
move("down")
|
move("down")
|
||||||
end
|
end
|
||||||
|
VP_moveto(ox,oz, cx,cz,direction)
|
||||||
return cx,cz,direction
|
return cx,cz,direction
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user