This commit is contained in:
aozhiwei 2024-03-25 21:26:49 +08:00
parent 0342dce056
commit cd036929c9

View File

@ -2694,6 +2694,8 @@ void Room::OnTeamPartChg(Human* hum)
int Room::InitWithCustomBattle(long ip_saddr, int socket_handle, std::shared_ptr<cs::CMJoin> msg, int Room::InitWithCustomBattle(long ip_saddr, int socket_handle, std::shared_ptr<cs::CMJoin> msg,
std::shared_ptr<CustomBattle> p) std::shared_ptr<CustomBattle> p)
{ {
#if 1
#else
std::vector<std::shared_ptr<Team>> room_teams; std::vector<std::shared_ptr<Team>> room_teams;
std::vector<std::shared_ptr<CustomTeam>> net_teams; std::vector<std::shared_ptr<CustomTeam>> net_teams;
p->TraverseTeamList p->TraverseTeamList
@ -2801,6 +2803,7 @@ int Room::InitWithCustomBattle(long ip_saddr, int socket_handle, std::shared_ptr
} }
} }
} }
#endif
return 0; return 0;
} }