1
0

dtOnFire damage wasn't dealt properly

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1640 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-07-01 18:52:24 +00:00
parent 37f6c78404
commit 2f8eebaad1

View File

@ -640,7 +640,7 @@ void cEntity::TickBurning(cChunk & a_Chunk)
m_TicksSinceLastBurnDamage++;
if (m_TicksSinceLastBurnDamage >= BURN_TICKS_PER_DAMAGE)
{
TakeDamage(dtOnFire, NULL, BURN_DAMAGE, 0, 0);
TakeDamage(dtOnFire, NULL, BURN_DAMAGE, 0);
m_TicksSinceLastBurnDamage = 0;
}
m_TicksLeftBurning--;