summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-07 21:26:17 +0200
committermadmaxoft <github@xoft.cz>2013-09-07 21:26:17 +0200
commit7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5 (patch)
tree29930eb3f29fddc18c4ef8f06b552caf95cd37c3 /source/WorldStorage/NBTChunkSerializer.cpp
parentImplemented ghast fireball and firecharge projectiles (diff)
downloadcuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar.gz
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar.bz2
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar.lz
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar.xz
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.tar.zst
cuberite-7938f18c57c4ef3909d93b7c13f9e24b2b4c81f5.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);