diff options
author | Alexander Harkness <me@bearbin.net> | 2015-05-30 09:05:56 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-05-30 09:05:56 +0200 |
commit | 0afdbeab293541f03a237f3e455ad66629a520e7 (patch) | |
tree | 54dc4a3cb3b19f9478bc75b9102905543b79b3c1 /src/Mobs | |
parent | Fix Destroy() calling behaviour (diff) | |
parent | Fixed creeper explosions (diff) | |
download | cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar.gz cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar.bz2 cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar.lz cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar.xz cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.tar.zst cuberite-0afdbeab293541f03a237f3e455ad66629a520e7.zip |
Diffstat (limited to 'src/Mobs')
-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; |