1
This commit is contained in:
parent
8ac9f6e1b7
commit
456ac47c8f
@ -1438,9 +1438,11 @@ void Player::PushJoinRoomMsg()
|
||||
{
|
||||
cs::SMMapInfo notifymsg;
|
||||
notifymsg.set_map_id(room->GetMapMeta()->map_id());
|
||||
if (proto_version < cs::ProtoVersion) {
|
||||
#if 1
|
||||
notifymsg.set_map_id(1001);
|
||||
notifymsg.set_map_id(1001);
|
||||
#endif
|
||||
}
|
||||
notifymsg.set_map_width(room->GetMapMeta()->map_width());
|
||||
notifymsg.set_map_height(room->GetMapMeta()->map_height());
|
||||
notifymsg.set_room_mode((int)room->GetRoomMode());
|
||||
|
@ -810,9 +810,12 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
{
|
||||
msg->set_force_enter_newbie_room(false);
|
||||
msg->set_pve_instance_id(0);
|
||||
#ifdef DEBUG
|
||||
#else
|
||||
if (msg->proto_version() < cs::ProtoVersion) {
|
||||
msg->set_mapid(2001);
|
||||
}
|
||||
#endif
|
||||
#ifdef DEBUG1
|
||||
if (DebugCmd::Enable()) {
|
||||
msg->set_room_mode(kPvpRankMode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user