diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
commit | a9877525597aa94f1d974b8f45567b4168cf6c8e (patch) | |
tree | 56673d8e770302a2846f1d1db0db1a890bba95cd /src/gui/windows/itemamountwindow.cpp | |
parent | 2ce675592a1a96cc9960082485797045a921676d (diff) | |
download | plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2 plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip |
Remove item default parameters.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 03bb4feb1..975cbbd20 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -319,7 +319,7 @@ void ItemAmountWindow::action(const ActionEvent &event) const int id = ItemDB::get(mItemsModal->getElementAt( mItemDropDown->getSelected())).getId(); - mItem = new Item(id, 10000); + mItem = new Item(id, 10000, 0, 1, false, false); if (mUsage == ShopBuyAdd) mMax = 10000; |