Returns the goal room of the passed in player
| 3344 | |
| 3345 | // Returns the goal room of the passed in player |
| 3346 | int GetGoalRoomForPlayer(int slot) { |
| 3347 | ASSERT(slot >= 0 && slot <= MAX_PLAYERS); |
| 3348 | int team = PlayerGetTeam(slot); |
| 3349 | |
| 3350 | if (team == -1) |
| 3351 | return -1; |
| 3352 | |
| 3353 | return (GetGoalRoomForTeam(team)); |
| 3354 | } |
| 3355 | |
| 3356 | // Sets the maximum number of teams in a game |
| 3357 | void SetMaxTeams(int num) { |
nothing calls this directly
no test coverage detected