diff --git a/README.txt b/README.txt index 7fdf022..aeb1f8c 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -Snowdrift 0.2.1 by paramat +Snowdrift 0.2.2 by paramat For latest stable Minetest and back to 0.4.6 Depends default Licenses: code WTFPL, textures CC BY-SA \ No newline at end of file diff --git a/init.lua b/init.lua index 8ba8376..ab83561 100644 --- a/init.lua +++ b/init.lua @@ -1,8 +1,10 @@ --- snowdrift 0.2.1 by paramat +-- snowdrift 0.2.2 by paramat -- For latest stable Minetest and back to 0.4.6 -- Depends default -- Licenses: code WTFPL, textures CC BY-SA +-- Removed snow noise offset + -- Parameters local PROCHA = 0.2 -- (0 to 1) -- Per player processing chance, randomizes and spreads processing load @@ -48,7 +50,7 @@ minetest.register_globalstep(function(dtime) local noiseh if SNOWV6 or THOVER then local perlint = minetest.get_perlin(SEEDT, OCTAT, PERST, SCALT) - noiset = perlint:get2d({x = ppos.x + 150, y = ppos.z + 50}) + noiset = perlint:get2d({x = ppos.x, y = ppos.z}) end if RAIN or THOVER then local perlinh = minetest.get_perlin(SEEDH, OCTAH, PERSH, SCALH)