diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-13 23:01:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-13 23:01:18 +0300 |
commit | 12398ad6f56888be71e4575d90442b2172f9876d (patch) | |
tree | 1902e26876d2a19efebb761cc831154dc773c73a /src | |
parent | 2a77d52ce39598313f97141ba4e5e2b952f7a196 (diff) | |
download | mv-12398ad6f56888be71e4575d90442b2172f9876d.tar.gz mv-12398ad6f56888be71e4575d90442b2172f9876d.tar.bz2 mv-12398ad6f56888be71e4575d90442b2172f9876d.tar.xz mv-12398ad6f56888be71e4575d90442b2172f9876d.zip |
Read whole packet SMSG_MAP_QUIT_RESPONSE.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/gamerecv.cpp | 2 |
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 |