mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[11777] reimplement [11719] in better way
This commit is contained in:
parent
4a2f96037e
commit
e3e39b5607
3 changed files with 9 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue