This commit is contained in:
aozhiwei 2020-10-14 14:33:34 +08:00
parent 6fa236cbda
commit 7c11e92c43

View File

@ -379,7 +379,7 @@ void App::ProcessWSProxyMsg(f8::MsgHdr& hdr)
cs::CMLoginCommonHead common_head;
bool ok = common_head.ParseFromArray(hdr.buf + hdr.offset, hdr.buflen - hdr.offset);
if (ok) {
if (common_head.has_server_id()) {
if (!common_head.has_server_id()) {
cs::CMLoginOld msg;
msg.ParseFromArray(hdr.buf + hdr.offset, hdr.buflen - hdr.offset);
PlayerMgr::Instance()->_CMLoginOld(hdr, msg);