Core/Unit: Revert r457923c3f3 - combattimer handling from that revision is wrong, as it dictates wether not a creature will actually enter combat or not - with

the earlier change this ment that any creature entering combat would not properly continue if target moved.

--HG--
branch : trunk
This commit is contained in:
click
2010-10-22 03:59:08 +02:00
parent caf8bbbe0a
commit a1319a2020
+1 -1
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)
CombatStop();
ClearInCombat();
else
m_CombatTimer -= p_time;
}