diff options
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 0ffbcd34a..6bf091625 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -196,17 +196,18 @@ void TradeWindow::addItem(const int id, const uint8_t refine, const unsigned char color, const bool identified, - const bool damaged) const + const bool damaged, + const bool favorite) const { if (own) { mMyInventory->addItem(id, quantity, refine, color, - identified, damaged, false, false); + identified, damaged, favorite, false, false); } else { mPartnerInventory->addItem(id, quantity, refine, color, - identified, damaged, false, false); + identified, damaged, favorite, false, false); } } @@ -217,17 +218,18 @@ void TradeWindow::addItem2(const int id, const unsigned char color, const bool identified, const bool damaged, + const bool favorite, const bool equipment) const { if (own) { mMyInventory->addItem(id, quantity, refine, color, - identified, damaged, equipment, false); + identified, damaged, favorite, equipment, false); } else { mPartnerInventory->addItem(id, quantity, refine, color, - identified, damaged, equipment, false); + identified, damaged, favorite, equipment, false); } } |