summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 07:30:18 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 07:30:18 +0100
commit2214fdcedee69060d5b1a495499cbe2c1a3673c3 (patch)
tree28c7440f480f4984169940983cb3cc7ba266960e
parentMerge pull request #2740 from SafwatHalaby/mTarget (diff)
parentRemove stray "return" (diff)
downloadcuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar.gz
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar.bz2
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar.lz
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar.xz
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.tar.zst
cuberite-2214fdcedee69060d5b1a495499cbe2c1a3673c3.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 38bec857c..2e365e987 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -243,7 +243,6 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
m_Target = nullptr;
m_EMState = IDLE;
- return;
}
}
}