# HG changeset patch # User Matti Hamalainen # Date 1349311389 -10800 # Node ID a69ed6a504add2c753666b15569a2be74db85823 # Parent c36e0316de9f7440b3085d573fedc02c9497d705# Parent 4e82d41f0e6fc8b0caf51cdf543cefe53877d79c Merged. diff -r c36e0316de9f -r a69ed6a504ad efu.c --- 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); } }