summaryrefslogtreecommitdiffstats
path: root/source/cEntity.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-03 21:55:16 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-03 21:55:16 +0100
commitad89cf88ba997651257412594cdd88e84a525a19 (patch)
tree7706bc9b0b9ae25cbb4b2b097e3c27bed5ba2e30 /source/cEntity.cpp
parentThat should not have been committed... (diff)
downloadcuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar.gz
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar.bz2
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar.lz
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar.xz
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.tar.zst
cuberite-ad89cf88ba997651257412594cdd88e84a525a19.zip
Diffstat (limited to 'source/cEntity.cpp')
-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
);