summaryrefslogtreecommitdiffstats
path: root/source/cEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cEntity.cpp b/source/cEntity.cpp
index 3df995d59..d75c35002 100644
--- a/source/cEntity.cpp
+++ b/source/cEntity.cpp
@@ -54,7 +54,7 @@ cEntity::~cEntity()
LOG("Deleting entity %d at pos {%.2f, %.2f} ~ [%d, %d]; ptr %p",
m_UniqueID,
m_Pos.x, m_Pos.z,
- (int)(m_Pos.x / 16), (int)(m_Pos.z / 16),
+ (int)(m_Pos.x / cChunk::c_ChunkWidth), (int)(m_Pos.z / cChunk::c_ChunkWidth),
this
);