diff options
author | QAston <none@none> | 2010-01-22 20:03:47 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-22 20:03:47 +0100 |
commit | 216d32e8a76b65fb8d661d7e5a200edd637b8dd9 (patch) | |
tree | d73c6c8f58b1ec74fa248182f1e04b45f3e7626f /src/game/Object.h | |
parent | 7b3691ac9e5856736765dded523ca0ed18fc8db9 (diff) |
*Prevent assertion fail in Unit::_AddAura after creature add to remove list.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r-- | src/game/Object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index aea0216e688..b97fd4798ff 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -571,7 +571,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object, public WorldLocation 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 CleanupsBeforeDelete(bool finalCleanup = true); // 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); |