diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:14:42 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:14:42 +0200 |
commit | 3cbb05a941f449a393d11596060ecb5bc4f2b737 (patch) | |
tree | 51edc920952cc53dfbb467b63e23b20e31beb46d /src/Mobs/Behaviors/BehaviorDayLightBurner.cpp | |
parent | Everything now inherits Behavior.h (diff) | |
download | cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.gz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.bz2 cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.lz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.xz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.zst cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorDayLightBurner.cpp')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorDayLightBurner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp b/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp index 062d60bae..81307f36a 100644 --- a/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp +++ b/src/Mobs/Behaviors/BehaviorDayLightBurner.cpp @@ -12,8 +12,9 @@ cBehaviorDayLightBurner::cBehaviorDayLightBurner(cMonster * a_Parent) : m_Parent ASSERT(m_Parent != nullptr); } -void cBehaviorDayLightBurner::PostTick(cChunk & a_Chunk, bool WouldBurn) +void cBehaviorDayLightBurner::PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + // mobTodo WouldBurn int RelY = static_cast<int>(m_Parent->GetPosY()); if ((RelY < 0) || (RelY >= cChunkDef::Height)) { |