diff options
author | maximius <none@none> | 2009-10-28 16:31:19 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-28 16:31:19 -0700 |
commit | f4d76b8216c911901e8a13996c55128bbfa4b08e (patch) | |
tree | d1db8d946c29cb9bdca5e0bf4d0da0a029f46d45 /src/game/Player.cpp | |
parent | d5b8ad0080d45c2f02ef5a4fdd4d8853da286b6d (diff) |
*Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 09f6226e400..292cde60ea9 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7856,7 +7856,7 @@ void Player::SendLoot(uint64 guid, LootType loot_type) { sLog.outDebug(" if(lootid)"); loot->clear(); - loot->FillLoot(lootid, LootTemplates_Gameobject, this, false); + loot->FillLoot(lootid, LootTemplates_Gameobject, this, false, go->GetLootMode()); } if (loot_type == LOOT_FISHING) @@ -7985,7 +7985,7 @@ void Player::SendLoot(uint64 guid, LootType loot_type) loot->clear(); if (uint32 lootid = creature->GetCreatureInfo()->lootid) - loot->FillLoot(lootid, LootTemplates_Creature, recipient, false); + loot->FillLoot(lootid, LootTemplates_Creature, recipient, false, creature->GetLootMode()); loot->generateMoneyLoot(creature->GetCreatureInfo()->mingold,creature->GetCreatureInfo()->maxgold); |