[8729] Fix crash added in [8725]. Sorry.

This commit is contained in:
VladimirMangos 2009-10-25 03:24:04 +03:00
parent 8baee4a73f
commit ce3d0170f6
3 changed files with 3 additions and 2 deletions

View file

@ -11110,7 +11110,7 @@ void Unit::CleanupsBeforeDelete()
RemoveAllDynObjects();
GetMotionMaster()->Clear(false); // remove different non-standard movement generators.
}
RemoveFromWorld();
WorldObject::CleanupsBeforeDelete();
}
CharmInfo* Unit::InitCharmInfo(Unit *charm)