diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-29 17:25:30 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:31 +0100 |
commit | a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1 (patch) | |
tree | 7bf54f8141c513650130e8d3cc6bd8ce3f71b1fe /src/World.cpp | |
parent | 2017-08-27 (diff) | |
download | AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.gz AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.bz2 AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.lz AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.xz AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.zst AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<PacketChunkData> 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) |