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/BehaviorDayLightBurner.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Mobs/Behaviors/BehaviorDayLightBurner.cpp') diff --git a/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp b/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp index 81307f36a..b28c3c49c 100644 --- a/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp +++ b/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp @@ -15,6 +15,8 @@ cBehaviorDayLightBurner::cBehaviorDayLightBurner(cMonster * a_Parent) : m_Parent void cBehaviorDayLightBurner::PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { // mobTodo WouldBurn + bool WouldBurn = false; // TEMP + int RelY = static_cast(m_Parent->GetPosY()); if ((RelY < 0) || (RelY >= cChunkDef::Height)) { -- cgit v1.2.3