summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-08 16:52:30 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-08 16:52:30 +0200
commit40503ab8912c21c8f7913b190fcf835dd8ad18d1 (patch)
tree5ec63036a2c852704a92e8ce1b3f111a13ed8d0a /src/World.cpp
parentmerge (diff)
downloadcuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.gz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.bz2
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.lz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.xz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.zst
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index e2ac24e71..4997ace4d 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1161,7 +1161,7 @@ void cWorld::TickMobs(std::chrono::milliseconds a_Dt)
else
{
auto Wolf = static_cast<cWolf *>(Monster);
- if (Wolf->IsAngry())
+ if (Wolf->IsAngry()) // mobTodo no need for special case, use neverDespawn
{
Monster->Destroy(true);
}