summaryrefslogtreecommitdiffstats
path: root/source/Generating/HeiGen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Generating/HeiGen.cpp')
-rw-r--r--source/Generating/HeiGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Generating/HeiGen.cpp b/source/Generating/HeiGen.cpp
index ed353751c..0fe0ea74f 100644
--- a/source/Generating/HeiGen.cpp
+++ b/source/Generating/HeiGen.cpp
@@ -51,8 +51,8 @@ cHeiGenCache::cHeiGenCache(cTerrainHeightGen * a_HeiGenToCache, int a_CacheSize)
cHeiGenCache::~cHeiGenCache()
{
- delete m_CacheData;
- delete m_CacheOrder;
+ delete[] m_CacheData;
+ delete[] m_CacheOrder;
delete m_HeiGenToCache;
}