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