From e6e06d772597f4c373def168cabee1a4946c2ed2 Mon Sep 17 00:00:00 2001 From: obneq Date: Sun, 29 Jul 2012 13:01:56 +0200 Subject: [PATCH] fix offset --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index f26f247..83bf8f8 100644 --- a/init.lua +++ b/init.lua @@ -155,7 +155,7 @@ canvasnode = { local node = minetest.env:get_node(pos) local fd = node.param2 local dir = dirs.x[fd] - local off = -(0.5 - 1/res*2) + local off = -(0.5 - 1/(res*2)) local master for y = 0, res-1 do