aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-08 21:45:31 -0600
committermegamage <none@none>2009-02-08 21:45:31 -0600
commit11b9bd42f76db238af914112bdc065fc8293451d (patch)
tree528b63daff3c2539ffa88cc44484e05c9a88e37b /src/game/SpellAuras.cpp
parenta908f8d0024fafc3238201e4c9fa872446b07c04 (diff)
Fixes and cleanups in loot code. Author: VladimirMangos
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case. * Simplify LootView code. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 2fd6bc64a95..55ea69eefb2 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1374,7 +1374,7 @@ void Aura::TriggerSpell()
}
Loot *loot = &creature->loot;
loot->clear();
- loot->FillLoot(creature->GetCreatureInfo()->SkinLootId, LootTemplates_Skinning, NULL);
+ loot->FillLoot(creature->GetCreatureInfo()->SkinLootId, LootTemplates_Skinning, player, true);
for(uint8 i=0;i<loot->items.size();i++)
{
LootItem *item = loot->LootItemInSlot(i,player);