summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorAttackerMelee.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 15:30:55 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 15:30:55 +0200
commite8dd3278eaf66a49eea74769d1215944d6985d58 (patch)
tree1c2bf2cb4ea065586daf1812f43725f6689dac1c /src/Mobs/Behaviors/BehaviorAttackerMelee.cpp
parentsqusshme (diff)
downloadcuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar.gz
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar.bz2
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar.lz
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar.xz
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.tar.zst
cuberite-e8dd3278eaf66a49eea74769d1215944d6985d58.zip
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorAttackerMelee.cpp')
-rw-r--r--src/Mobs/Behaviors/BehaviorAttackerMelee.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorAttackerMelee.cpp b/src/Mobs/Behaviors/BehaviorAttackerMelee.cpp
index 8203326e6..2bc0ef29d 100644
--- a/src/Mobs/Behaviors/BehaviorAttackerMelee.cpp
+++ b/src/Mobs/Behaviors/BehaviorAttackerMelee.cpp
@@ -5,7 +5,7 @@
#include "../../Entities/Pawn.h"
#include "../../BlockID.h"
-bool cBehaviorAttackerMelee::DoStrikeTarget(int a_StrikeTickCnt)
+bool cBehaviorAttackerMelee::DoStrike(int a_StrikeTickCnt)
{
UNUSED(a_StrikeTickCnt);
GetTarget()->TakeDamage(dtMobAttack, m_Parent, m_AttackDamage, 0);