summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 01:46:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 01:46:26 +0300
commitee42b631f296c9e77d4257b0f84b81f990377728 (patch)
treeccc1d65da1e39f896e1d25dda4ad851d2a57b746 /src/gui/windows/buydialog.cpp
parent9be90b76adb1518c4ffe0e365a18c5afcc3158f2 (diff)
downloadmanaverse-ee42b631f296c9e77d4257b0f84b81f990377728.tar.gz
manaverse-ee42b631f296c9e77d4257b0f84b81f990377728.tar.bz2
manaverse-ee42b631f296c9e77d4257b0f84b81f990377728.tar.xz
manaverse-ee42b631f296c9e77d4257b0f84b81f990377728.zip
Allow buy in market with amount > 1 for non stackable items.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 4340a671f..3503bed44 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -453,6 +453,7 @@ void BuyDialog::action(const ActionEvent &event)
else
{
marketHandler->buyItem(item->getId(),
+ item->getType(),
item->getColor(),
mAmountItems);
}