summaryrefslogtreecommitdiffstats
path: root/source/Mobs/AggressiveMonster.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-05 17:22:31 +0100
committerMattes D <github@xoft.cz>2013-11-05 17:22:31 +0100
commite65ce130127b3a56e12421d745b98549c0669a95 (patch)
tree52472269f5b9635e3370333b5dbc00fd97700975 /source/Mobs/AggressiveMonster.cpp
parentProtocol 1.7: Added more client-bound packets. (diff)
parentFixed indentation. (diff)
downloadcuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar.gz
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar.bz2
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar.lz
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar.xz
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.tar.zst
cuberite-e65ce130127b3a56e12421d745b98549c0669a95.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));
}