summaryrefslogtreecommitdiffstats
path: root/BiomeVisualiser/BiomeCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'BiomeVisualiser/BiomeCache.cpp')
-rw-r--r--BiomeVisualiser/BiomeCache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/BiomeVisualiser/BiomeCache.cpp b/BiomeVisualiser/BiomeCache.cpp
index 962f4a3f0..12133b8b6 100644
--- a/BiomeVisualiser/BiomeCache.cpp
+++ b/BiomeVisualiser/BiomeCache.cpp
@@ -34,8 +34,8 @@ static int GetNumCores(void)
cBiomeCache::cBiomeCache(void) :
m_Source(NULL),
- m_BaseX(MAXINT),
- m_BaseZ(MAXINT),
+ m_BaseX(-100000),
+ m_BaseZ(-100000),
m_Available(NULL),
m_IsTerminatingThreads(false)
{
@@ -222,8 +222,8 @@ void cBiomeCache::SetSource(cBiomeSource * a_Source)
// Invalidate cache contents:
cCSLock Lock(m_CS);
- m_BaseX = MAXINT;
- m_BaseZ = MAXINT;
+ m_BaseX = -10000;
+ m_BaseZ = -10000;
m_Pool.splice(m_Pool.end(), m_Queue);
}