1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-06-28 14:16:18 +02:00

Fix some warnings.

This commit is contained in:
Anthony Zhang
2014-12-29 18:16:36 -05:00
parent 4799068551
commit 7f580611f5
2 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ worldedit.allocate_with_nodes = function(origin_pos, nodes)
local pos2x, pos2y, pos2z = -huge, -huge, -huge
local origin_x, origin_y, origin_z = origin_pos.x, origin_pos.y, origin_pos.z
for i, entry in ipairs(nodes) do
x, y, z = origin_x + entry.x, origin_y + entry.y, origin_z + entry.z
local x, y, z = origin_x + entry.x, origin_y + entry.y, origin_z + entry.z
if x < pos1x then pos1x = x end
if y < pos1y then pos1y = y end
if z < pos1z then pos1z = z end