changeset 119:a69ed6a504ad

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 04 Oct 2012 03:43:09 +0300
parents c36e0316de9f (current diff) 4e82d41f0e6f (diff)
children a4830b62ff5d
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/efu.c	Thu Oct 04 03:38:04 2012 +0300
+++ b/efu.c	Thu Oct 04 03:43:09 2012 +0300
@@ -182,7 +182,7 @@
         for (x = 0; x < QWIDTH; x++)
         {
             DMFloat f = 0.40f + dmPerlinNoise2D(x, y, 1.1f, q, 2);
-            map[y][x] = (int) (dmClip10(f) * m);
+            map[y][x] = (int) (dmClamp10(f) * m);
         }
 }