summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authormgueydan <gueydan.mathieuÃ@gmail.com>2013-09-22 14:29:33 +0200
committermgueydan <gueydan.mathieuÃ@gmail.com>2013-09-22 14:29:33 +0200
commitac4cb65b8d8443c6bb7835934f4b74dc2bdb820d (patch)
tree6f869625bd6a4509e37231194d777fc4e9df7d5e /source/WorldStorage/NBTChunkSerializer.cpp
parentInside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy (diff)
parentMerged branch 'Projectiles'. (diff)
downloadcuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar.gz
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar.bz2
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar.lz
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar.xz
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.tar.zst
cuberite-ac4cb65b8d8443c6bb7835934f4b74dc2bdb820d.zip
Diffstat (limited to 'source/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--source/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/WorldStorage/NBTChunkSerializer.cpp b/source/WorldStorage/NBTChunkSerializer.cpp
index baae0dc01..ef6165142 100644
--- a/source/WorldStorage/NBTChunkSerializer.cpp
+++ b/source/WorldStorage/NBTChunkSerializer.cpp
@@ -340,7 +340,7 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
m_Writer.AddShort("xTile", (Int16)floor(Pos.x));
m_Writer.AddShort("yTile", (Int16)floor(Pos.y));
m_Writer.AddShort("zTile", (Int16)floor(Pos.z));
- m_Writer.AddShort("inTile", 0); // TODO: Query the block type (is it needed?)
+ m_Writer.AddShort("inTile", 0); // TODO: Query the block type
m_Writer.AddShort("shake", 0); // TODO: Any shake?
m_Writer.AddByte ("inGround", a_Projectile->IsInGround() ? 1 : 0);