summaryrefslogtreecommitdiff
path: root/src/net/eathena/traderecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/traderecv.cpp')
-rw-r--r--src/net/eathena/traderecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/traderecv.cpp b/src/net/eathena/traderecv.cpp
index 3d7d51dfe..b77c8af87 100644
--- a/src/net/eathena/traderecv.cpp
+++ b/src/net/eathena/traderecv.cpp
@@ -80,7 +80,8 @@ void TradeRecv::processTradeItemAdd(Net::MessageIn &msg)
int cards[maxCards];
for (int f = 0; f < maxCards; f++)
cards[f] = msg.readInt16("card");
- if (serverVersion >= 8 && packetVersion >= 20150226)
+ if ((serverVersion >= 8 || serverVersion == 0) &&
+ packetVersion >= 20150226)
{
for (int f = 0; f < 5; f ++)
{