Core/Unit: Fix leave combat timer - original patch by Laise

Needs further testing, give feedback if wrong.

--HG--
branch : trunk
This commit is contained in:
click
2010-10-21 22:09:45 +02:00
parent ea847598d0
commit 8ac91ada22

View File

@@ -253,7 +253,7 @@ void Unit::Update(uint32 p_time)
{
// m_CombatTimer set at aura start and it will be freeze until aura removing
if (m_CombatTimer <= p_time)
ClearInCombat();
CombatStop();
else
m_CombatTimer -= p_time;
}