From fb80a7c111c138d335f4c7e68fc098f8aa8483d3 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Thu, 11 Dec 2014 02:53:10 -0500 Subject: Clean up Noise macros --- src/mapgen_v7.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapgen_v7.cpp') diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 097e70934..efaf60a6f 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -173,7 +173,7 @@ int MapgenV7::getGroundLevelAtPoint(v2s16 p) { // Ridge/river terrain calculation float width = 0.3; - float uwatern = NoisePerlin2DNoTxfm(&noise_ridge_uwater->np, p.X, p.Y, seed) * 2; + float uwatern = NoisePerlin2D(&noise_ridge_uwater->np, p.X, p.Y, seed) * 2; // actually computing the depth of the ridge is much more expensive; // if inside a river, simply guess if (uwatern >= -width && uwatern <= width) -- cgit v1.2.3