diff options
author | madmaxoft <github@xoft.cz> | 2013-12-20 16:01:34 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-20 16:01:34 +0100 |
commit | 8610d45ef18f075e7fa207732233ddbd69bb604b (patch) | |
tree | 3f7401c1dfb8926d1917f0c92762c3507ca4a51b /src/Generating/DistortedHeightmap.cpp | |
parent | Fixed melon and pumpkin growing. (diff) | |
download | cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.gz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.bz2 cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.lz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.xz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.zst cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/DistortedHeightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/DistortedHeightmap.cpp b/src/Generating/DistortedHeightmap.cpp index c32a3bf43..342a4483f 100644 --- a/src/Generating/DistortedHeightmap.cpp +++ b/src/Generating/DistortedHeightmap.cpp @@ -612,7 +612,7 @@ void cDistortedHeightmap::GetDistortAmpsAt(BiomeNeighbors & a_Neighbors, int a_R // For each biome type that has a nonzero count, calc its amps and add it: NOISE_DATATYPE AmpX = 0; NOISE_DATATYPE AmpZ = 0; - for (unsigned int i = 0; i < ARRAYCOUNT(BiomeCounts); i++) + for (size_t i = 0; i < ARRAYCOUNT(BiomeCounts); i++) { if (BiomeCounts[i] <= 0) { |