mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
- Compile fix and update to latest PTR build 10805.
This commit is contained in:
parent
3def8fa353
commit
716d329228
3 changed files with 5 additions and 5 deletions
|
|
@ -900,7 +900,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, uint32 NumberOfPlayers)
|
|||
}
|
||||
}
|
||||
SendLootRollWon(0, maxguid, maxresul, ROLL_DISENCHANT, *roll);
|
||||
player = objmgr.GetPlayer(maxguid);
|
||||
player = sObjectMgr.GetPlayer(maxguid);
|
||||
|
||||
if(player && player->GetSession())
|
||||
{
|
||||
|
|
@ -909,7 +909,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, uint32 NumberOfPlayers)
|
|||
roll->getLoot()->NotifyItemRemoved(roll->itemSlot);
|
||||
--roll->getLoot()->unlootedCount;
|
||||
|
||||
ItemPrototype const *pProto = objmgr.GetItemPrototype(roll->itemid);
|
||||
ItemPrototype const *pProto = ObjectMgr::GetItemPrototype(roll->itemid);
|
||||
player->AutoStoreLoot(pProto->DisenchantID, LootTemplates_Disenchant, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue