dtOnFire damage wasn't dealt properly
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1640 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
37f6c78404
commit
2f8eebaad1
|
@ -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--;
|
||||
|
|
Loading…
Reference in New Issue