mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build.
This commit is contained in:
parent
2bf75e7a10
commit
ab7840a591
16 changed files with 32 additions and 32 deletions
|
|
@ -12783,7 +12783,7 @@ void Unit::ClearComboPointHolders()
|
|||
{
|
||||
uint32 lowguid = *m_ComboPointHolders.begin();
|
||||
|
||||
Player* plr = sObjectMgr.GetPlayer(MAKE_NEW_GUID(lowguid, 0, HIGHGUID_PLAYER));
|
||||
Player* plr = sObjectMgr.GetPlayer(ObjectGuid(HIGHGUID_PLAYER, lowguid));
|
||||
if(plr && plr->GetComboTarget()==GetGUID()) // recheck for safe
|
||||
plr->ClearComboPoints(); // remove also guid from m_ComboPointHolders;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue