Fix for alt currency reclaim exploit and fix for exploit in trader code where price != set price

This commit is contained in:
KimLS
2015-03-20 13:10:36 -07:00
parent 93eb727ade
commit 6c26bc9c8f
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1583,6 +1583,8 @@ void Client::BuyTraderItem(TraderBuy_Struct* tbs, Client* Trader, const EQApplic
return;
}
tbs->Price = BuyItem->GetPrice();
Log.Out(Logs::Detail, Logs::Trading, "Buyitem: Name: %s, IsStackable: %i, Requested Quantity: %i, Charges on Item %i",
BuyItem->GetItem()->Name, BuyItem->IsStackable(), tbs->Quantity, BuyItem->GetCharges());
// If the item is not stackable, then we can only be buying one of them.