1
0

Fixed creeper explosions

This commit is contained in:
SafwatHalaby 2015-05-30 09:54:32 +03:00
parent 291370e367
commit 9c6c6af75a

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;