summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-23 17:06:38 +0200
committermadmaxoft <github@xoft.cz>2014-06-23 17:06:38 +0200
commit59270fd44d7d2f0cf4857b80134827b81fce4116 (patch)
treecd2f1fbd045a7a58d7b5865ffd2c4e96da27edf9
parentAdded a (disabled) block meta mirror / rotate test code. (diff)
downloadcuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar.gz
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar.bz2
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar.lz
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar.xz
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.tar.zst
cuberite-59270fd44d7d2f0cf4857b80134827b81fce4116.zip
Diffstat (limited to '')
-rw-r--r--src/VoronoiMap.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/VoronoiMap.cpp b/src/VoronoiMap.cpp
index 9c3ca7e65..5efd09c01 100644
--- a/src/VoronoiMap.cpp
+++ b/src/VoronoiMap.cpp
@@ -14,7 +14,9 @@ cVoronoiMap::cVoronoiMap(int a_Seed, int a_CellSize) :
m_Noise1(a_Seed + 1),
m_Noise2(a_Seed + 2),
m_Noise3(a_Seed + 3),
- m_CellSize(a_CellSize)
+ m_CellSize(a_CellSize),
+ m_CurrentCellX(9999999), // Cell coords that are definitely out of the range for normal generator, so that the first query will overwrite them
+ m_CurrentCellZ(9999999)
{
}