diff options
author | madmaxoft <github@xoft.cz> | 2013-09-07 22:06:30 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-07 22:06:30 +0200 |
commit | d31142811db9073b7b01b834ca3bf82f6bceb4a9 (patch) | |
tree | 9988b872e675a082253126b9ff292070e913b1cd /source/WorldStorage/NBTChunkSerializer.cpp | |
parent | Fixed a missing initialization in cMonster. (diff) | |
parent | Added a (disabled) block logging to projectile path-tracing. (diff) | |
download | cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar.gz cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar.bz2 cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar.lz cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar.xz cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.tar.zst cuberite-d31142811db9073b7b01b834ca3bf82f6bceb4a9.zip |
Diffstat (limited to 'source/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | source/WorldStorage/NBTChunkSerializer.cpp | 2 |
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); |