From 87f870db578dfd7877faa792e557500c55453c50 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sun, 5 Jul 2015 21:01:13 +0200 Subject: [PATCH] :cat2: --- nether/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nether/init.lua b/nether/init.lua index d252334..9a158bb 100644 --- a/nether/init.lua +++ b/nether/init.lua @@ -113,7 +113,7 @@ end local path = minetest.get_modpath("nether") dofile(path.."/weird_mapgen_noise.lua") dofile(path.."/items.lua") -dofile(path.."/furnace.lua") +--dofile(path.."/furnace.lua") dofile(path.."/pearl.lua") local function table_contains(t, v) @@ -132,9 +132,9 @@ local function do_ws_func(depth, a, x) local n = x/(16*SIZE) local y = 0 for k=1,depth do - y = y + SIZE*(math.sin(math.pi * k^a * n)/(math.pi * k^a)) + y = y + math.sin(math.pi * k^a * n)/(k^a) end - return y + return SIZE*y/math.pi end local chunksize = minetest.setting_get("chunksize") or 5