summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r--src/net/eathena/tradehandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index da97b7a0a..7a4cb4e9f 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -60,6 +60,7 @@ TradeHandler::TradeHandler() :
SMSG_TRADE_OK,
SMSG_TRADE_CANCEL,
SMSG_TRADE_COMPLETE,
+ SMSG_TRADE_UNDO,
0
};
handledMessages = _messages;
@@ -103,6 +104,10 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
processTradeComplete(msg);
break;
+ case SMSG_TRADE_UNDO:
+ processTradeUndo(msg);
+ break;
+
default:
break;
}
@@ -235,4 +240,9 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
}
}
+void TradeHandler::processTradeUndo(Net::MessageIn &msg A_UNUSED) const
+{
+ // +++ here need clear trade window from partner side?
+}
+
} // namespace EAthena