*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-01-12 00:14:09 +01:00
1 parent 3ddea83ffa
commit 758baae61b
5 files changed
+13 -10

No files matched your search

+1 -1
View File
@@ -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: