summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-30 08:54:32 +0200
committerSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-30 08:54:32 +0200
commit9c6c6af75a83a8538320f27837cc1b7819759d70 (patch)
tree54dc4a3cb3b19f9478bc75b9102905543b79b3c1 /src
parentFix Destroy() calling behaviour (diff)
downloadcuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar.gz
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar.bz2
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar.lz
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar.xz
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.tar.zst
cuberite-9c6c6af75a83a8538320f27837cc1b7819759d70.zip
Diffstat (limited to 'src')
-rw-r--r--src/Mobs/Creeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp
index ef3245894..30bd41f13 100644
--- a/src/Mobs/Creeper.cpp
+++ b/src/Mobs/Creeper.cpp
@@ -27,7 +27,7 @@ void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
super::Tick(a_Dt, a_Chunk);
- if (!ReachedFinalDestination() && !m_BurnedWithFlintAndSteel)
+ if (!TargetIsInRange() && !m_BurnedWithFlintAndSteel)
{
m_ExplodingTimer = 0;
m_bIsBlowing = false;