summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp6
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();
}