diff options
author | SafwatHalaby <SafwatHalaby@users.noreply.github.com> | 2015-05-30 08:54:32 +0200 |
---|---|---|
committer | SafwatHalaby <SafwatHalaby@users.noreply.github.com> | 2015-05-30 08:54:32 +0200 |
commit | 9c6c6af75a83a8538320f27837cc1b7819759d70 (patch) | |
tree | 54dc4a3cb3b19f9478bc75b9102905543b79b3c1 /src/Mobs/Creeper.cpp | |
parent | Fix Destroy() calling behaviour (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/Creeper.cpp | 2 |
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; |