[11777] reimplement [11719] in better way

This commit is contained in:
SilverIce 2011-08-09 20:56:48 +03:00
parent 4a2f96037e
commit e3e39b5607
3 changed files with 9 additions and 4 deletions

View file

@ -9343,7 +9343,6 @@ void Unit::CleanupsBeforeDelete()
else
getHostileRefManager().deleteReferences();
RemoveAllAuras(AURA_REMOVE_BY_DELETE);
GetMotionMaster()->Clear(false,true); // remove all movement generators.
}
WorldObject::CleanupsBeforeDelete();
}