mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16: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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef _UPDATEFIELDS_AUTO_H
|
||||
#define _UPDATEFIELDS_AUTO_H
|
||||
|
||||
// Auto generated for version 0, 3, 0, 10772
|
||||
// Auto generated for version 0, 3, 0, 10805
|
||||
|
||||
enum EObjectFields
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ enum LoginResult
|
|||
|
||||
// we need to stick to 1 version or half of the stuff will work for someone
|
||||
// others will not and opposite
|
||||
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10772...
|
||||
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10805...
|
||||
|
||||
#define EXPECTED_MANGOS_CLIENT_BUILD {10772, 0}
|
||||
#define EXPECTED_MANGOS_CLIENT_BUILD {10805, 0}
|
||||
|
||||
// At update excepted builds please update if need define DEFAULT_MAX_LEVEL
|
||||
// in DBCEnum.h to default max player level expected by build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue