aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 1390d9eb09e..d30f694e88d 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1734,6 +1734,7 @@ class Unit : public WorldObject
bool canDetectInvisibilityOf(Unit const* u) const;
bool canDetectStealthOf(Unit const* u, float distance) const;
void SetPhaseMask(uint32 newPhaseMask, bool update);// overwrite WorldObject::SetPhaseMask
+ void UpdateObjectVisibility(bool forced = true);
// virtual functions for all world objects types
bool isVisibleForInState(Player const* u, bool inVisibleList) const;
@@ -1903,9 +1904,6 @@ class Unit : public WorldObject
uint32 GetModelForForm(ShapeshiftForm form);
- // relocation notification
- void SetToNotify();
-
void SetReducedThreatPercent(uint32 pct, uint64 guid)
{
m_reducedThreatPercent = pct;