diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-08 13:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-08 17:55:40 +0300 |
commit | 9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch) | |
tree | 38e947cdaa6f1ec33651560b81851b7a255a58ac /src/gui/windows/tradewindow.cpp | |
parent | fcf53dd7d524c2204f39269be5768a1919daef42 (diff) | |
download | manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.gz manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.bz2 manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.xz manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.zip |
fix code style.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 506f25c17..443c38619 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -440,7 +440,7 @@ void TradeWindow::initTrade(const std::string &nick) const Inventory *const inv = PlayerInfo::getInventory(); if (inv) { - Item *const item = inv->findItem(mAutoAddItem->getId(), + const Item *const item = inv->findItem(mAutoAddItem->getId(), mAutoAddItem->getColor()); if (item) tradeItem(item, mAutoAddAmount); |