mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11207] Fixed cheating with item loot with some conditionas.
Thanks to zergtmn for explictly pointing to problematic line.
This commit is contained in:
parent
f1899e3b27
commit
cd1465b1e4
2 changed files with 2 additions and 2 deletions
|
|
@ -8057,7 +8057,7 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
|||
item->SetLootState(ITEM_LOOT_TEMPORARY);
|
||||
break;
|
||||
default:
|
||||
loot->FillLoot(item->GetEntry(), LootTemplates_Item, this, item->GetProto()->MaxMoneyLoot == 0);
|
||||
loot->FillLoot(item->GetEntry(), LootTemplates_Item, this, true, item->GetProto()->MaxMoneyLoot == 0);
|
||||
loot->generateMoneyLoot(item->GetProto()->MinMoneyLoot, item->GetProto()->MaxMoneyLoot);
|
||||
item->SetLootState(ITEM_LOOT_CHANGED);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue