From 6de6557bf0baa323046497f2d793c805d69b630b Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 28 Aug 2009 14:19:14 -0500 Subject: *Fix a crash caused by gm command .object move and so on --HG-- branch : trunk --- src/game/Object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/Object.h') 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& lList, uint32 uiEntry, float fMaxSearchRange); void GetCreatureListWithEntryInGrid(std::list& lList, uint32 uiEntry, float fMaxSearchRange); + void DestroyForNearbyPlayers(); + bool isActiveObject() const { return m_isActive; } void setActive(bool isActiveObject); void SetWorldObject(bool apply); -- cgit v1.2.3