From a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Tue, 29 Aug 2017 20:25:30 +0500 Subject: 2017-08-29 --- src/World.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/World.cpp') diff --git a/src/World.cpp b/src/World.cpp index 1a0e0fa..8f6bb5c 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1,5 +1,6 @@ #include "World.hpp" #include "Event.hpp" +#include "DebugInfo.hpp" void World::ParseChunkData(std::shared_ptr packet) { StreamBuffer chunkData(packet->Data.data(), packet->Data.size()); @@ -137,6 +138,7 @@ void World::UpdatePhysics(float delta) it.pos = it.pos + it.vel * delta; } entitiesMutex.unlock(); + DebugInfo::totalSections = sections.size(); } Entity & World::GetEntity(unsigned int EntityId) -- cgit v1.2.3