| 709 | } |
| 710 | |
| 711 | int IGameController::GetAutoTeam(int NotThisId) |
| 712 | { |
| 713 | int Team = TEAM_GAME; |
| 714 | |
| 715 | if(CanJoinTeam(Team, NotThisId, nullptr, 0)) |
| 716 | return Team; |
| 717 | return TEAM_SPECTATORS; |
| 718 | } |
| 719 | |
| 720 | bool IGameController::CanJoinTeam(int Team, int NotThisId, char *pErrorReason, int ErrorReasonSize) |
| 721 | { |
no outgoing calls