aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-25 15:23:34 +0100
committern0n4m3 <none@none>2009-12-25 15:23:34 +0100
commitcc366fdc57b02000a8b014e02f9d869394068364 (patch)
treef176e5548e3ac462a70b6d78a695b679a7dc7f66 /src
parent531945f8ad358b1c6c023cc87da7b0ef78352b27 (diff)
Fixed leave combat by timer. by laise
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 3a87804a48b..c00843b44b2 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -245,7 +245,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;
}