Fix compile warning.
--HG-- branch : trunk
This commit is contained in:
+2
-4
@@ -578,7 +578,7 @@ void Group::SendLooter(Creature *pCreature, Player *pLooter)
|
|||||||
BroadcastPacket(&data, false);
|
BroadcastPacket(&data, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
|
void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature)
|
||||||
{
|
{
|
||||||
std::vector<LootItem>::iterator i;
|
std::vector<LootItem>::iterator i;
|
||||||
ItemPrototype const *item;
|
ItemPrototype const *item;
|
||||||
@@ -625,7 +625,6 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
|
|||||||
|
|
||||||
loot->items[itemSlot].is_blocked = true;
|
loot->items[itemSlot].is_blocked = true;
|
||||||
|
|
||||||
Creature *creature;
|
|
||||||
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
||||||
|
|
||||||
RollId.push_back(r);
|
RollId.push_back(r);
|
||||||
@@ -651,7 +650,7 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject)
|
void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *creature)
|
||||||
{
|
{
|
||||||
ItemPrototype const *item;
|
ItemPrototype const *item;
|
||||||
uint8 itemSlot = 0;
|
uint8 itemSlot = 0;
|
||||||
@@ -691,7 +690,6 @@ void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject)
|
|||||||
|
|
||||||
loot->items[itemSlot].is_blocked = true;
|
loot->items[itemSlot].is_blocked = true;
|
||||||
|
|
||||||
Creature *creature;
|
|
||||||
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
||||||
|
|
||||||
RollId.push_back(r);
|
RollId.push_back(r);
|
||||||
|
|||||||
+2
-2
@@ -325,8 +325,8 @@ class Group
|
|||||||
void SendLootRollWon(const uint64& SourceGuid, const uint64& TargetGuid, uint8 RollNumber, uint8 RollType, const Roll &r);
|
void SendLootRollWon(const uint64& SourceGuid, const uint64& TargetGuid, uint8 RollNumber, uint8 RollType, const Roll &r);
|
||||||
void SendLootAllPassed(uint32 NumberOfPlayers, const Roll &r);
|
void SendLootAllPassed(uint32 NumberOfPlayers, const Roll &r);
|
||||||
void SendLooter(Creature *pCreature, Player *pLooter);
|
void SendLooter(Creature *pCreature, Player *pLooter);
|
||||||
void GroupLoot(Loot *loot, WorldObject* pLootedObject);
|
void GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature);
|
||||||
void NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject);
|
void NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *creature);
|
||||||
void MasterLoot(Loot *loot, WorldObject* pLootedObject);
|
void MasterLoot(Loot *loot, WorldObject* pLootedObject);
|
||||||
Rolls::iterator GetRoll(uint64 Guid)
|
Rolls::iterator GetRoll(uint64 Guid)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user