summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-18 18:23:18 +0200
committerMattes D <github@xoft.cz>2014-06-18 18:23:18 +0200
commitc30b7b87354cd7868dd986008ac91187390a08b2 (patch)
tree5f7222853d649ca5e66a2640462b4468be6fd79e /src/WorldStorage
parentMerge pull request #1100 from Howaner/Slabs (diff)
parentMerge branch 'master' into GlobalFixes (diff)
downloadcuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.gz
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.bz2
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.lz
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.xz
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.zst
cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index a3b0d57be..8294d4a00 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -608,17 +608,12 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
case cProjectileEntity::pkGhastFireball:
{
m_Writer.AddInt("ExplosionPower", 1);
- // fall-through:
+ break;
}
case cProjectileEntity::pkFireCharge:
case cProjectileEntity::pkWitherSkull:
case cProjectileEntity::pkEnderPearl:
{
- m_Writer.BeginList("Motion", TAG_Double);
- m_Writer.AddDouble("", a_Projectile->GetSpeedX());
- m_Writer.AddDouble("", a_Projectile->GetSpeedY());
- m_Writer.AddDouble("", a_Projectile->GetSpeedZ());
- m_Writer.EndList();
break;
}
default: