Core/Misc: Various crash fixes

This commit is contained in:
xinef1 authored and roc13x committed 2017-05-05 01:59:34 +01:00
1 parent 02e174d7e9
commit b88200cd58
22 files changed
+79 -60

No files matched your search

+1 -1
View File
@@ -10833,7 +10833,7 @@ void Unit::ClearComboPointHolders()
{
ObjectGuid guid = *m_ComboPointHolders.begin();
Player* player = ObjectAccessor::FindPlayer(guid);
Player* player = ObjectAccessor::GetPlayer(*this, guid);
if (player && player->GetComboTarget() == GetGUID()) // recheck for safe
player->ClearComboPoints(); // remove also guid from m_ComboPointHolders;
else