diff options
author | QAston <none@none> | 2010-01-12 00:14:09 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-12 00:14:09 +0100 |
commit | 758baae61b6cdce9588964cf44675b1c8ab9b4f8 (patch) | |
tree | 4c4023ffc0ad2dab71a976238877e8968917dd67 /src/game/Map.cpp | |
parent | 3ddea83ffa0f5ec5f93b0e8af8a0fb5fcb6752eb (diff) |
*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index d7ca6ae7a70..21371f28726 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -2440,7 +2440,7 @@ void Map::RemoveAllObjectsInRemoveList() case TYPEID_UNIT: // in case triggered sequence some spell can continue casting after prev CleanupsBeforeDelete call // make sure that like sources auras/etc removed before destructor start - ((Creature*)obj)->CleanupsBeforeDelete (); + ((Creature*)obj)->CleanupsBeforeDelete(); Remove((Creature*)obj,true); break; default: |