mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
Move visibility update functions to more appropriate classes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4041121fd8
commit
63897d56d7
10 changed files with 47 additions and 44 deletions
|
|
@ -3910,7 +3910,7 @@ void Aura::HandleInvisibilityDetect(bool apply, bool Real)
|
|||
m_target->m_detectInvisibilityMask |= (1 << m_modifier.m_miscvalue);
|
||||
}
|
||||
if(Real && m_target->GetTypeId()==TYPEID_PLAYER)
|
||||
ObjectAccessor::UpdateVisibilityForPlayer((Player*)m_target);
|
||||
((Player*)m_target)->UpdateVisibilityForPlayer();
|
||||
}
|
||||
|
||||
void Aura::HandleAuraModRoot(bool apply, bool Real)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue