diff options
author | Mattes D <github@xoft.cz> | 2014-09-05 22:07:13 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-05 22:07:13 +0200 |
commit | 60e235362c9662ad01b68141b32f5aae28a2fdfe (patch) | |
tree | 61d7e2caecdc0c764c20cec493a792b8e4f0d50e /src/Generating/BioGen.cpp | |
parent | Fixed security: Player cannot spawn in a disabled world. (diff) | |
download | cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.gz cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.bz2 cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.lz cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.xz cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.zst cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.zip |
Diffstat (limited to 'src/Generating/BioGen.cpp')
-rw-r--r-- | src/Generating/BioGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp index 175e4ef33..60ad4e3eb 100644 --- a/src/Generating/BioGen.cpp +++ b/src/Generating/BioGen.cpp @@ -227,7 +227,7 @@ cBioGenMulticache::cBioGenMulticache(cBiomeGen * a_BioGenToCache, size_t a_Cache cBioGenMulticache::~cBioGenMulticache() { - for (std::vector<cBiomeGen*>::iterator it = m_Caches.begin(); it != m_Caches.end(); it++) + for (cBiomeGens::iterator it = m_Caches.begin(); it != m_Caches.end(); it++) { delete *it; } @@ -251,7 +251,7 @@ void cBioGenMulticache::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMa void cBioGenMulticache::InitializeBiomeGen(cIniFile & a_IniFile) { - for (std::vector<cBiomeGen*>::iterator it = m_Caches.begin(); it != m_Caches.end(); it++) + for (cBiomeGens::iterator it = m_Caches.begin(); it != m_Caches.end(); it++) { cBiomeGen * tmp = *it; tmp->InitializeBiomeGen(a_IniFile); |