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/Unit.h | |
parent | 7b3691ac9e5856736765dded523ca0ed18fc8db9 (diff) |
*Prevent assertion fail in Unit::_AddAura after creature add to remove list.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index a0614298484..5ff61195cc4 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1101,7 +1101,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void AddToWorld(); void RemoveFromWorld(); - void CleanupsBeforeDelete(); // used in ~Creature/~Player (or before mass creature delete to remove cross-references to already deleted units) + void CleanupsBeforeDelete(bool finalCleanup = true); // used in ~Creature/~Player (or before mass creature delete to remove cross-references to already deleted units) DiminishingLevels GetDiminishing(DiminishingGroup group); void IncrDiminishing(DiminishingGroup group); |