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/GameObject.h | |
parent | 7b3691ac9e5856736765dded523ca0ed18fc8db9 (diff) |
*Prevent assertion fail in Unit::_AddAura after creature add to remove list.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r-- | src/game/GameObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h index 3d6d94e3596..dd0b3508b36 100644 --- a/src/game/GameObject.h +++ b/src/game/GameObject.h @@ -589,7 +589,7 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject, public GridObject<GameOb void AddToWorld(); void RemoveFromWorld(); - void CleanupsBeforeDelete(); + void CleanupsBeforeDelete(bool finalCleanup = true); bool Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMask, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 animprogress, GOState go_state, uint32 artKit = 0); void Update(uint32 p_time); |