fix npctrade buy with bps and ignorecapacity

This commit is contained in:
Henrique Santiago 2012-05-11 06:00:30 -03:00
parent a20a56a66c
commit c0b6608453
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ end
function NPCTrade.onTradeClick()
if getCurrentTradeType() == BUY then
g_game.buyItem(selectedItem.ptr, quantityScroll:getValue(), buyWithBackpack:isChecked(), ignoreCapacity:isChecked())
g_game.buyItem(selectedItem.ptr, quantityScroll:getValue(), ignoreCapacity:isChecked(), buyWithBackpack:isChecked())
else
g_game.sellItem(selectedItem.ptr, quantityScroll:getValue(), ignoreEquipped:isChecked())
end