summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/World.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index d0fa588b0..4bde20ede 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -29,6 +29,7 @@
// Mobs:
#include "Mobs/IncludeAllMonsters.h"
+#include "MobCensus.h"
#include "OSSupport/MakeDir.h"
#include "MersenneTwister.h"
@@ -712,6 +713,10 @@ void cWorld::TickSpawnMobs(float a_Dt)
{
return;
}
+
+ cMobCensus MobCensus;
+ m_ChunkMap->CollectMobCensus(MobCensus);
+ MobCensus.logd();
m_LastSpawnMonster = m_WorldAge;
Vector3d SpawnPos;