From e8dd3278eaf66a49eea74769d1215944d6985d58 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 2 Sep 2017 16:30:55 +0300 Subject: Implemented creepers using Behaviors --- src/Mobs/Behaviors/BehaviorAttackerMelee.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs/Behaviors/BehaviorAttackerMelee.cpp') 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); -- cgit v1.2.3