diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:25:50 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:25:50 +0200 |
commit | 4e5baf3f39c6972fb525b0d4aed58f59de3005bd (patch) | |
tree | 4bdf3c28f92ea2fdd469f0ec9c404df96fd6b78f /src/Mobs/Behaviors/BehaviorDayLightBurner.cpp | |
parent | Initial Monster Behavior vector logic (diff) | |
download | cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.gz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.bz2 cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.lz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.xz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.zst cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorDayLightBurner.cpp')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorDayLightBurner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<int>(m_Parent->GetPosY()); if ((RelY < 0) || (RelY >= cChunkDef::Height)) { |