From 978663b725dd2a7b756b4fcecf0453e42ce16b79 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Wed, 23 Aug 2017 19:08:48 +0300 Subject: d --- src/Mobs/PassiveMonster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Mobs/PassiveMonster.cpp') diff --git a/src/Mobs/PassiveMonster.cpp b/src/Mobs/PassiveMonster.cpp index 5eded6b6f..c5dab6d80 100644 --- a/src/Mobs/PassiveMonster.cpp +++ b/src/Mobs/PassiveMonster.cpp @@ -78,7 +78,7 @@ void cPassiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { break; } - if (m_BehaviorBreeder.ActiveTick()) + if (m_BehaviorBreeder.Tick()) { break; } @@ -95,7 +95,7 @@ void cPassiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) break; } - m_BehaviorBreeder.Tick(); + m_BehaviorBreeder.PostTick(); } -- cgit v1.2.3