diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-04 22:51:24 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-04 22:51:24 +0100 |
commit | e832736e0bf315585f873b43520d1d771930a1c2 (patch) | |
tree | d9fce26b198075371b04356b6f66f31da51f4493 /source/World.cpp | |
parent | Protocol 1.7: Added more client-bound packets. (diff) | |
download | cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.gz cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.bz2 cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.lz cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.xz cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.zst cuberite-e832736e0bf315585f873b43520d1d771930a1c2.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/World.cpp b/source/World.cpp index dd3965e3d..c6bc47be5 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -509,7 +509,7 @@ void cWorld::Start(void) break; } } - m_bAnimals = IniFile.GetValueB("Monsters", "AnimalsOn", true); + m_bAnimals = IniFile.GetValueSetB("Monsters", "AnimalsOn", true); AString AllMonsters = IniFile.GetValueSet("Monsters", "Types", DefaultMonsters); AStringVector SplitList = StringSplitAndTrim(AllMonsters, ","); for (AStringVector::const_iterator itr = SplitList.begin(), end = SplitList.end(); itr != end; ++itr) @@ -784,8 +784,8 @@ void cWorld::TickMobs(float a_Dt) SpawnMobFinalize(*itr2); } } - } // for i - AllFamilies[] - } // if (Spawning enabled) + } // for i - AllFamilies[] + } // if (Spawning enabled) // move close mobs cMobProximityCounter::sIterablePair allCloseEnoughToMoveMobs = MobCensus.GetProximityCounter().getMobWithinThosesDistances(-1, 64 * 16);// MG TODO : deal with this magic number (the 16 is the size of a block) |