Core/Misc: Various crash fixes
This commit is contained in:
1 parent
02e174d7e9
commit
b88200cd58
22 files changed
+79
-60
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user