diff options
author | tonibm19 <tonibm19@gmail.com> | 2013-10-28 21:37:45 +0100 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2013-10-28 21:37:45 +0100 |
commit | 669beef2deb98eafd8f23e0c25466e4a73ac3f9b (patch) | |
tree | a2ad959a45649b8e7dbe194d212efed5117aadb1 /source/Entities | |
parent | Extra line (diff) | |
download | cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar.gz cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar.bz2 cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar.lz cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar.xz cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.tar.zst cuberite-669beef2deb98eafd8f23e0c25466e4a73ac3f9b.zip |
Diffstat (limited to 'source/Entities')
-rw-r--r-- | source/Entities/ProjectileEntity.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/Entities/ProjectileEntity.cpp b/source/Entities/ProjectileEntity.cpp index a0a929d2c..7b04373d8 100644 --- a/source/Entities/ProjectileEntity.cpp +++ b/source/Entities/ProjectileEntity.cpp @@ -1,4 +1,3 @@ - // ProjectileEntity.cpp // Implements the cProjectileEntity class representing the common base class for projectiles, as well as individual projectile types @@ -481,10 +480,10 @@ void cThrownEggEntity::OnHitSolidBlock(const Vector3d & a_HitPos, char a_HitFace else if (m_World->GetTickRandomNumber(32) == 1) { m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); - m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); + m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); - } + } Destroy(); } |