summaryrefslogtreecommitdiffstats
path: root/Tools/BiomeVisualiser/BiomeCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/BiomeVisualiser/BiomeCache.cpp')
-rw-r--r--Tools/BiomeVisualiser/BiomeCache.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/BiomeVisualiser/BiomeCache.cpp b/Tools/BiomeVisualiser/BiomeCache.cpp
index b3c308422..7d9301d8f 100644
--- a/Tools/BiomeVisualiser/BiomeCache.cpp
+++ b/Tools/BiomeVisualiser/BiomeCache.cpp
@@ -258,6 +258,11 @@ void cBiomeCache::FilterOutItems(cItems & a_Items, int a_MinChunkX, int a_MaxChu
void cBiomeCache::thrProcessQueueItem(void)
{
+ if (m_Source == NULL)
+ {
+ return;
+ }
+
cItem * Item = NULL;
{
cCSLock Lock(m_CS);