summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-10 23:26:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-10 23:26:53 +0300
commitb81f22b9ca68675d16fa2263b89d7dd0d179ef45 (patch)
tree7a4554927636a77d5233ceffc1814eee1fdd3578 /src/gui/windows/tradewindow.cpp
parentf3f7879c48fe8e202c3519cd465225645949167e (diff)
downloadmanaplus-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.gz
manaplus-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.bz2
manaplus-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.xz
manaplus-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.zip
Add typed bool type Damaged.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index b94584f4f..042c11b74 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -201,7 +201,7 @@ void TradeWindow::addItem(const int id,
const uint8_t refine,
const unsigned char color,
const Identified identified,
- const bool damaged,
+ const Damaged damaged,
const bool favorite) const
{
Inventory *inv = own ? mMyInventory : mPartnerInventory;
@@ -218,7 +218,7 @@ void TradeWindow::addItem2(const int id,
const uint8_t refine,
const unsigned char color,
const Identified identified,
- const bool damaged,
+ const Damaged damaged,
const bool favorite,
const bool equipment) const
{