summaryrefslogtreecommitdiffstats
path: root/source/Mobs/AggressiveMonster.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-04 21:46:56 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-04 21:46:56 +0100
commit7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3 (patch)
tree8ace65bcb978257250c6b767abd29457700c07b4 /source/Mobs/AggressiveMonster.cpp
parentSkeleton.cpp doesn't have to load ProjectileEntity.h and Entity.h. (diff)
downloadcuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar.gz
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar.bz2
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar.lz
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar.xz
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.tar.zst
cuberite-7cfcfc5f398f133f339a4dd8c87b5e02d8043fd3.zip
Diffstat (limited to 'source/Mobs/AggressiveMonster.cpp')
-rw-r--r--source/Mobs/AggressiveMonster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Mobs/AggressiveMonster.cpp b/source/Mobs/AggressiveMonster.cpp
index 88bd2743a..cc7e7da2b 100644
--- a/source/Mobs/AggressiveMonster.cpp
+++ b/source/Mobs/AggressiveMonster.cpp
@@ -44,7 +44,7 @@ void cAggressiveMonster::InStateChasing(float a_Dt)
Vector3f Their = Vector3f( m_Target->GetPosition() );
if ((Their - Pos).Length() <= m_AttackRange)
{
- cMonster::Attack(a_Dt);
+ Attack(a_Dt);
}
MoveToPosition(Their + Vector3f(0, 0.65f, 0));
}