[9752] Add storage for min/maxgold of gameobject

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-04-16 08:44:15 +02:00
parent b31c006bdc
commit 5570f8c9cd
8 changed files with 17 additions and 5 deletions

View file

@ -7652,6 +7652,7 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
sLog.outDebug(" if(lootid)");
loot->clear();
loot->FillLoot(lootid, LootTemplates_Gameobject, this, false);
loot->generateMoneyLoot(go->GetGOInfo()->MinMoneyLoot, go->GetGOInfo()->MaxMoneyLoot);
}
if (loot_type == LOOT_FISHING)