aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-28 14:19:14 -0500
committermegamage <none@none>2009-08-28 14:19:14 -0500
commit6de6557bf0baa323046497f2d793c805d69b630b (patch)
treec7b0c9840e8f9d946318476b0b908a80c6fef71c /src/game/Object.h
parent3d9326c4b7ec086790d0476f9864cd7d201e9495 (diff)
*Fix a crash caused by gm command .object move and so on
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 3b568ef225f..d46d6a45479 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -556,6 +556,8 @@ class TRINITY_DLL_SPEC WorldObject : public Object
void GetGameObjectListWithEntryInGrid(std::list<GameObject*>& lList, uint32 uiEntry, float fMaxSearchRange);
void GetCreatureListWithEntryInGrid(std::list<Creature*>& lList, uint32 uiEntry, float fMaxSearchRange);
+ void DestroyForNearbyPlayers();
+
bool isActiveObject() const { return m_isActive; }
void setActive(bool isActiveObject);
void SetWorldObject(bool apply);