summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 06:35:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 06:35:15 +0300
commit51c1436f27042c1a84aa3d18aa500385abc7f57b (patch)
tree57271524323982261ed182a73056109591291553 /src/progs
parent144484e103cf468dbc70ecdf285de233d28aa957 (diff)
downloadmv-51c1436f27042c1a84aa3d18aa500385abc7f57b.tar.gz
mv-51c1436f27042c1a84aa3d18aa500385abc7f57b.tar.bz2
mv-51c1436f27042c1a84aa3d18aa500385abc7f57b.tar.xz
mv-51c1436f27042c1a84aa3d18aa500385abc7f57b.zip
Remove default parameters from itemamountwindow.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/actions/actions.cpp25
1 files changed, 20 insertions, 5 deletions
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;
}