diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-10 13:44:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-10 22:49:59 +0300 |
commit | f3f7879c48fe8e202c3519cd465225645949167e (patch) | |
tree | 898a86c3446d988e86d7c3f160036533bdfd6475 /src/net/eathena/tradehandler.cpp | |
parent | 37d7bd3163ad58391df36363b6f0135c638fbeb8 (diff) | |
download | mv-f3f7879c48fe8e202c3519cd465225645949167e.tar.gz mv-f3f7879c48fe8e202c3519cd465225645949167e.tar.bz2 mv-f3f7879c48fe8e202c3519cd465225645949167e.tar.xz mv-f3f7879c48fe8e202c3519cd465225645949167e.zip |
Add typed bool type Identified.
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index 5e1a95986..303ebd7c9 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -28,6 +28,8 @@ #include "being/playerinfo.h" +#include "enums/simpletypes.h" + #include "gui/windows/tradewindow.h" #include "net/eathena/messageout.h" @@ -204,7 +206,8 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg) tradeWindow->addItem2(type, itemType, cards, 4, false, amount, - refine, 1, identify != 0, + refine, 1, + fromBool(identify, Identified), false, false, false); } } |