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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 2242ed6b915..18c578376c6 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1602,7 +1602,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
// Visibility system
UnitVisibility GetVisibility() const { return m_Visibility; }
void SetVisibility(UnitVisibility x);
- void DestroyForNearbyPlayers();
// common function for visibility checks for player/creatures with detection code
virtual bool canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList = false, bool is3dDistance = true) const = 0;