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:
@@ -253,7 +253,7 @@ void Unit::Update(uint32 p_time)
|
|||||||
{
|
{
|
||||||
// m_CombatTimer set at aura start and it will be freeze until aura removing
|
// m_CombatTimer set at aura start and it will be freeze until aura removing
|
||||||
if (m_CombatTimer <= p_time)
|
if (m_CombatTimer <= p_time)
|
||||||
ClearInCombat();
|
CombatStop();
|
||||||
else
|
else
|
||||||
m_CombatTimer -= p_time;
|
m_CombatTimer -= p_time;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user