summaryrefslogtreecommitdiff
path: root/src/noise.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-11-14 21:19:46 -0500
committerkwolekr <kwolekr@minetest.net>2014-11-14 21:19:46 -0500
commit8831703428aeb47600c3b8f72daeb03154c916ce (patch)
tree3ae49ef1c430fba576f0c3d5a5768ff734c3b6f7 /src/noise.h
parent8d3a68f343777c438b9caf9f646e913d4b66e046 (diff)
downloadminetest-8831703428aeb47600c3b8f72daeb03154c916ce.tar.gz
minetest-8831703428aeb47600c3b8f72daeb03154c916ce.tar.bz2
minetest-8831703428aeb47600c3b8f72daeb03154c916ce.zip
Fix NoisePerlin3DEased return value
Diffstat (limited to 'src/noise.h')
-rw-r--r--src/noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h
index 398052837..3c726f17f 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -187,7 +187,7 @@ float contour(float v);
#define NoisePerlin3DEased(np, x, y, z, s) ((np)->offset + (np)->scale * \
noise3d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \
(float)(z) / (np)->spread.Z, (s) + (np)->seed, (np)->octaves, \
- (np)->persist), true)
+ (np)->persist, true))
#endif