summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.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/net/tmwa/tradehandler.cpp
parentf3f7879c48fe8e202c3519cd465225645949167e (diff)
downloadmv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.gz
mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.bz2
mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.xz
mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.zip
Add typed bool type Damaged.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 53336bb24..a00bd4952 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -196,7 +196,9 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
false, amount,
refine,
identify,
- Identified_True, false, false, false);
+ Identified_True,
+ Damaged_False,
+ false, false);
}
else
{
@@ -205,7 +207,8 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
false, amount,
refine, 1,
fromBool(identify, Identified),
- false, false, false);
+ Damaged_False,
+ false, false);
}
}
}