summaryrefslogtreecommitdiff
path: root/src/net/ea/gamerecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-13 23:01:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-13 23:01:18 +0300
commit12398ad6f56888be71e4575d90442b2172f9876d (patch)
tree1902e26876d2a19efebb761cc831154dc773c73a /src/net/ea/gamerecv.cpp
parent2a77d52ce39598313f97141ba4e5e2b952f7a196 (diff)
downloadplus-12398ad6f56888be71e4575d90442b2172f9876d.tar.gz
plus-12398ad6f56888be71e4575d90442b2172f9876d.tar.bz2
plus-12398ad6f56888be71e4575d90442b2172f9876d.tar.xz
plus-12398ad6f56888be71e4575d90442b2172f9876d.zip
Read whole packet SMSG_MAP_QUIT_RESPONSE.
Diffstat (limited to 'src/net/ea/gamerecv.cpp')
-rw-r--r--src/net/ea/gamerecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/gamerecv.cpp b/src/net/ea/gamerecv.cpp
index 596cc03f5..d83a3121b 100644
--- a/src/net/ea/gamerecv.cpp
+++ b/src/net/ea/gamerecv.cpp
@@ -60,7 +60,7 @@ void GameRecv::processCharSwitchResponse(Net::MessageIn &msg)
void GameRecv::processMapQuitResponse(Net::MessageIn &msg)
{
- if (msg.readUInt8("response"))
+ if (msg.readInt16("response"))
{
CREATEWIDGET(OkDialog,
// TRANSLATORS: error header