Bugfix, no noise offset

master
paramat 2014-01-20 09:12:52 +00:00
parent 807c41dfa5
commit 443777bcc0
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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)