diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index dfdf3d3..7d782cc 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -342,6 +342,7 @@ void Room::FillSMJoinedNotify(Player* self_hum, cs::SMJoinedNotify& msg) msg.set_team_mode(msg.team_mode()); msg.set_player_id(self_hum->entity_uniid); msg.set_started(false); + #if 0 for (auto& pair : uniid_hash_) { if (pair.second->entity_type == ET_Player) { Human* hum = (Human*)pair.second; @@ -351,6 +352,7 @@ void Room::FillSMJoinedNotify(Player* self_hum, cs::SMJoinedNotify& msg) info->set_name(hum->name); } } + #endif } void Room::ScatterDrop(Vector2D center, int drop_id) diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index a237d1e..3ff2eb4 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -684,7 +684,7 @@ message SMJoinedNotify optional int32 team_mode = 1; //队伍模式 0:单人 1:多人 optional int32 player_id = 2; //玩家id(自己) optional bool started = 3; //游戏是否已开始 - repeated MFPlayerInfo player_infos = 4; //玩家信息 + //repeated MFPlayerInfo player_infos = 4; //玩家信息 optional int32 map_type = 5; //目前没用到 optional bool elo_start = 6; //目前没用到