aboutsummaryrefslogtreecommitdiff
path: root/src/game/Group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r--src/game/Group.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp
index 5b657b43bc8..66b3024ff47 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, Creature *creature)
+void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
{
std::vector<LootItem>::iterator i;
ItemPrototype const *item;
@@ -625,6 +625,7 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature
loot->items[itemSlot].is_blocked = true;
+ Creature *creature;
SendLootStartRoll(60000, creature->GetMapId(), *r);
RollId.push_back(r);
@@ -650,7 +651,7 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature
}
}
-void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *creature)
+void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject)
{
ItemPrototype const *item;
uint8 itemSlot = 0;
@@ -690,6 +691,7 @@ void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *cr
loot->items[itemSlot].is_blocked = true;
+ Creature *creature;
SendLootStartRoll(60000, creature->GetMapId(), *r);
RollId.push_back(r);