- Compile fix and update to latest PTR build 10805.

This commit is contained in:
tomrus88 2009-11-12 16:40:37 +03:00
parent 3def8fa353
commit 716d329228
3 changed files with 5 additions and 5 deletions

View file

@ -900,7 +900,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, uint32 NumberOfPlayers)
} }
} }
SendLootRollWon(0, maxguid, maxresul, ROLL_DISENCHANT, *roll); SendLootRollWon(0, maxguid, maxresul, ROLL_DISENCHANT, *roll);
player = objmgr.GetPlayer(maxguid); player = sObjectMgr.GetPlayer(maxguid);
if(player && player->GetSession()) if(player && player->GetSession())
{ {
@ -909,7 +909,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, uint32 NumberOfPlayers)
roll->getLoot()->NotifyItemRemoved(roll->itemSlot); roll->getLoot()->NotifyItemRemoved(roll->itemSlot);
--roll->getLoot()->unlootedCount; --roll->getLoot()->unlootedCount;
ItemPrototype const *pProto = objmgr.GetItemPrototype(roll->itemid); ItemPrototype const *pProto = ObjectMgr::GetItemPrototype(roll->itemid);
player->AutoStoreLoot(pProto->DisenchantID, LootTemplates_Disenchant, true); player->AutoStoreLoot(pProto->DisenchantID, LootTemplates_Disenchant, true);
} }
} }

View file

@ -19,7 +19,7 @@
#ifndef _UPDATEFIELDS_AUTO_H #ifndef _UPDATEFIELDS_AUTO_H
#define _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 enum EObjectFields
{ {

View file

@ -66,9 +66,9 @@ enum LoginResult
// we need to stick to 1 version or half of the stuff will work for someone // we need to stick to 1 version or half of the stuff will work for someone
// others will not and opposite // 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 // At update excepted builds please update if need define DEFAULT_MAX_LEVEL
// in DBCEnum.h to default max player level expected by build // in DBCEnum.h to default max player level expected by build