diff options
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r-- | src/game/Group.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 66b3024ff47..5b657b43bc8 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -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); |