diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-15 15:02:17 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-15 15:02:17 +0100 |
commit | 635386faad0f9ed6ce3ea2b83484e6ce3ffba937 (patch) | |
tree | 0334f19aff07ad5f13d82b0ec98bc4e05baea79c /source/Generating/BioGen.cpp | |
parent | Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol. (diff) | |
download | cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar.gz cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar.bz2 cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar.lz cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar.xz cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.tar.zst cuberite-635386faad0f9ed6ce3ea2b83484e6ce3ffba937.zip |
Diffstat (limited to 'source/Generating/BioGen.cpp')
-rw-r--r-- | source/Generating/BioGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Generating/BioGen.cpp b/source/Generating/BioGen.cpp index a43d995df..d12bdcf52 100644 --- a/source/Generating/BioGen.cpp +++ b/source/Generating/BioGen.cpp @@ -51,8 +51,8 @@ cBioGenCache::cBioGenCache(cBiomeGen * a_BioGenToCache, int a_CacheSize) : cBioGenCache::~cBioGenCache() { - delete m_CacheData; - delete m_CacheOrder; + delete[] m_CacheData; + delete[] m_CacheOrder; delete m_BioGenToCache; } |