mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9060] Fixed leave combat by timer.
This also fix some problems with stealth detection. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9ab5276eb9
commit
ce30ed1852
2 changed files with 5 additions and 5 deletions
|
|
@ -220,7 +220,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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9059"
|
#define REVISION_NR "9060"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue