summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorWinfieldSteve <mail.stevewinfield@gmail.com>2016-01-17 11:23:42 +0100
committerWinfieldSteve <mail.stevewinfield@gmail.com>2016-01-17 11:23:42 +0100
commitd7bc866c7c6c5e0c68d09395f70df8e0d0b62a98 (patch)
tree6eb96f0cd0f8f448139303fa0abd53ffd285016e /src/Mobs
parentMerge pull request #2881 from LogicParrot/knockback (diff)
downloadcuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar.gz
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar.bz2
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar.lz
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar.xz
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.tar.zst
cuberite-d7bc866c7c6c5e0c68d09395f70df8e0d0b62a98.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Blaze.cpp1
-rw-r--r--src/Mobs/Ghast.cpp1
-rw-r--r--src/Mobs/Skeleton.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp
index a772d830c..bd3b3f776 100644
--- a/src/Mobs/Blaze.cpp
+++ b/src/Mobs/Blaze.cpp
@@ -50,7 +50,6 @@ bool cBlaze::Attack(std::chrono::milliseconds a_Dt)
FireCharge = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*FireCharge);
ResetAttackCooldown();
// ToDo: Shoot 3 fireballs instead of 1.
return true;
diff --git a/src/Mobs/Ghast.cpp b/src/Mobs/Ghast.cpp
index 9ac16866e..61813d0fe 100644
--- a/src/Mobs/Ghast.cpp
+++ b/src/Mobs/Ghast.cpp
@@ -50,7 +50,6 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt)
GhastBall = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*GhastBall);
ResetAttackCooldown();
return true;
}
diff --git a/src/Mobs/Skeleton.cpp b/src/Mobs/Skeleton.cpp
index 5032ec5b0..adad543d2 100644
--- a/src/Mobs/Skeleton.cpp
+++ b/src/Mobs/Skeleton.cpp
@@ -68,7 +68,6 @@ bool cSkeleton::Attack(std::chrono::milliseconds a_Dt)
Arrow = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*Arrow);
ResetAttackCooldown();
return true;