From 51c1436f27042c1a84aa3d18aa500385abc7f57b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Dec 2017 06:35:15 +0300 Subject: Remove default parameters from itemamountwindow. --- src/progs/manaplus/actions/actions.cpp | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'src/progs/manaplus/actions/actions.cpp') diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index f74cc681a..64512517b 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -473,7 +473,10 @@ impHandler(dropItemId) if ((item != nullptr) && !PlayerInfo::isItemProtected(item->getId())) { ItemAmountWindow::showWindow(ItemAmountWindowUsage::ItemDrop, - inventoryWindow, item); + inventoryWindow, + item, + 0, + 0); } return true; } @@ -485,7 +488,10 @@ impHandler(dropItemInv) if ((item != nullptr) && !PlayerInfo::isItemProtected(item->getId())) { ItemAmountWindow::showWindow(ItemAmountWindowUsage::ItemDrop, - inventoryWindow, item); + inventoryWindow, + item, + 0, + 0); } return true; } @@ -1752,7 +1758,10 @@ impHandler(invToStorage) else { ItemAmountWindow::showWindow(ItemAmountWindowUsage::StoreAdd, - inventoryWindow, item); + inventoryWindow, + item, + 0, + 0); } return true; } @@ -1773,7 +1782,10 @@ impHandler(tradeAdd) else { ItemAmountWindow::showWindow(ItemAmountWindowUsage::TradeAdd, - tradeWindow, item); + tradeWindow, + item, + 0, + 0); } return true; } @@ -1795,7 +1807,10 @@ impHandler(storageToInv) else { ItemAmountWindow::showWindow(ItemAmountWindowUsage::StoreRemove, - storageWindow, item); + storageWindow, + item, + 0, + 0); } return true; } -- cgit v1.2.3-70-g09d2