summaryrefslogtreecommitdiff
path: root/src/net/eathena/traderecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:02:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:02:44 +0300
commitd3662ce56f1f1893fd0ddd76ce236404ce242477 (patch)
tree816992ef47a2f8a19f5dad8cb2a5fb92ffc90c4b /src/net/eathena/traderecv.cpp
parentb37388b381a1251683c588189f496eb47b590769 (diff)
downloadplus-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.gz
plus-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.bz2
plus-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.xz
plus-d3662ce56f1f1893fd0ddd76ce236404ce242477.zip
Drop support server packet version 7.
Diffstat (limited to 'src/net/eathena/traderecv.cpp')
-rw-r--r--src/net/eathena/traderecv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/traderecv.cpp b/src/net/eathena/traderecv.cpp
index 6c743b21a..03dcf62a6 100644
--- a/src/net/eathena/traderecv.cpp
+++ b/src/net/eathena/traderecv.cpp
@@ -87,8 +87,7 @@ void TradeRecv::processTradeItemAdd(Net::MessageIn &msg)
int cards[maxCards];
for (int f = 0; f < maxCards; f++)
cards[f] = msg.readUInt16("card");
- if ((serverVersion >= 8 || serverVersion == 0) &&
- msg.getVersion() >= 20150226)
+ if (msg.getVersion() >= 20150226)
{
for (int f = 0; f < 5; f ++)
{