From 4e5baf3f39c6972fb525b0d4aed58f59de3005bd Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Thu, 24 Aug 2017 10:25:50 +0300 Subject: pass a_Dt and a_Chunk to PostTick,PreTick,Tick,IsControlDesired --- src/Mobs/Behaviors/BehaviorAggressive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs/Behaviors/BehaviorAggressive.cpp') diff --git a/src/Mobs/Behaviors/BehaviorAggressive.cpp b/src/Mobs/Behaviors/BehaviorAggressive.cpp index d629d83ac..f7c553f52 100644 --- a/src/Mobs/Behaviors/BehaviorAggressive.cpp +++ b/src/Mobs/Behaviors/BehaviorAggressive.cpp @@ -19,7 +19,7 @@ cBehaviorAggressive::cBehaviorAggressive(cMonster * a_Parent) : m_Parent(a_Paren -void cBehaviorAggressive::PreTick() +void cBehaviorAggressive::PreTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { // Target something new if we have no target if (m_ParentChaser->GetTarget() == nullptr) -- cgit v1.2.3