summaryrefslogtreecommitdiff
path: root/src/net/tmwa/traderecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/traderecv.cpp')
-rw-r--r--src/net/tmwa/traderecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/traderecv.cpp b/src/net/tmwa/traderecv.cpp
index f68bee9f5..29e88b2c4 100644
--- a/src/net/tmwa/traderecv.cpp
+++ b/src/net/tmwa/traderecv.cpp
@@ -66,7 +66,7 @@ void TradeRecv::processTradeItemAdd(Net::MessageIn &msg)
const uint8_t refine = msg.readUInt8("refine");
int cards[maxCards];
for (int f = 0; f < maxCards; f++)
- cards[f] = msg.readInt16("card");
+ cards[f] = msg.readUInt16("card");
if (tradeWindow)
{