1
0

Merge pull request #2165 from SafwatHalaby/creeper

Fixed creeper explosions
This commit is contained in:
Alexander Harkness 2015-05-30 08:05:56 +01:00
commit 0afdbeab29

View File

@ -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;