*Do not update object visibility immediately when object is added to map.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-01 11:26:19 -05:00
parent a098dc72fc
commit 182a04f5ea
3 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ class TRINITY_DLL_SPEC Aura
void SetAuraMaxDuration(int32 duration) { m_maxduration = duration; }
int32 GetAuraDuration() const { return m_duration; }
void SetAuraDuration(int32 duration);
void RefreshAura(){ SetAuraDuration (m_maxduration); }
inline bool IsExpired() { if(!GetAuraDuration() && !(IsPermanent() || (IsPassive()))) return true; return false;};
void RefreshAura() { SetAuraDuration(m_maxduration); }
bool IsExpired() const { return !GetAuraDuration() && !(IsPermanent() || IsPassive()); }
void SendAuraUpdate();
uint8 GetAuraSlot() const { return m_auraSlot; }