summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-05 16:24:54 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-05 16:24:54 +0100
commitc84bd79eff56865f4754f22313c3a4c970b6aa3f (patch)
tree4313476925a9ce6dce9dd8728e18a6c89d8ae04a
parentSkeleton, Ghast and Blaze's projectile code is now in their respective class. (diff)
downloadcuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar.gz
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar.bz2
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar.lz
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar.xz
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.tar.zst
cuberite-c84bd79eff56865f4754f22313c3a4c970b6aa3f.zip
-rw-r--r--source/Mobs/Ghast.cpp1
-rw-r--r--source/Mobs/Skeleton.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/Mobs/Ghast.cpp b/source/Mobs/Ghast.cpp
index 85803cb84..96a29b2d8 100644
--- a/source/Mobs/Ghast.cpp
+++ b/source/Mobs/Ghast.cpp
@@ -25,6 +25,7 @@ void cGhast::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+
void cGhast::Attack(float a_Dt)
{
m_AttackInterval += a_Dt * m_AttackRate;
diff --git a/source/Mobs/Skeleton.cpp b/source/Mobs/Skeleton.cpp
index 6a1068337..509c2191e 100644
--- a/source/Mobs/Skeleton.cpp
+++ b/source/Mobs/Skeleton.cpp
@@ -44,6 +44,7 @@ void cSkeleton::MoveToPosition(const Vector3f & a_Position)
+
void cSkeleton::Attack(float a_Dt)
{
m_AttackInterval += a_Dt * m_AttackRate;