diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index bb185e8..3f8e9b0 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -798,6 +798,7 @@ bool Room::GenSmallCircle(a8::Vec2 big_circle_pos, float big_circle_rad, float s void Room::MatchTeam(Human* hum) { + #if 0 for (auto& pair : human_hash_) { if (pair.second != hum) { if (!hum->team_uuid.empty() && pair.second->team_uuid == hum->team_uuid) { @@ -815,6 +816,7 @@ void Room::MatchTeam(Human* hum) } } } + #endif if (hum->team_id == 0) { hum->team_id = NewTeam(); hum->team_members = &team_hash_[hum->team_id];