diff options
Diffstat (limited to 'src/game/Object.h')
| -rw-r--r-- | src/game/Object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index 8e86ff1c87b..96bd1f12d46 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -498,6 +498,8 @@ class TRINITY_DLL_SPEC WorldObject : public Object bool HasInArc( const float arcangle, const WorldObject* obj ) const; bool IsInBetween(const WorldObject *obj1, const WorldObject *obj2, float size = 0) const; + virtual void CleanupsBeforeDelete(); // used in destructor or explicitly before mass creature delete to remove cross-references to already deleted units + virtual void SendMessageToSet(WorldPacket *data, bool self); virtual void SendMessageToSetInRange(WorldPacket *data, float dist, bool self); |
