diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-03 23:13:07 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-03 23:13:07 +0200 |
commit | 9437d4943a8b299b057020ee114b230399965abd (patch) | |
tree | 54e8d1bca3c2f5457db8402fcdfe1b9e04df54f7 /src/gui/sell.cpp | |
parent | bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (diff) | |
download | ManaVerse-9437d4943a8b299b057020ee114b230399965abd.tar.gz ManaVerse-9437d4943a8b299b057020ee114b230399965abd.tar.bz2 ManaVerse-9437d4943a8b299b057020ee114b230399965abd.tar.xz ManaVerse-9437d4943a8b299b057020ee114b230399965abd.zip |
Add colors to buy/sell dialogs.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 5b05c6865..de1da395c 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -152,14 +152,14 @@ void SellDialog::addItem(const Item *item, int price) return; mShopItems->addItem2(item->getInvIndex(), item->getId(), - item->getQuantity(), price); + item->getColor(), item->getQuantity(), price); mShopItemList->adjustSize(); } -void SellDialog::addItem(int id, int amount, int price) +void SellDialog::addItem(int id, unsigned char color, int amount, int price) { - mShopItems->addItem(id, amount, price); + mShopItems->addItem(id, color, amount, price); mShopItemList->adjustSize(); } |