MapInfo_Type_ToString(MapInfo_CurrentGametype()) returns the current gametype that can be changed during the game by the gametype command; GetGametype() returns the active gametype
int team_bits = TeamBalance_FindBestTeams(balance, player, true);
if (team_bits == 0)
{
- LOG_FATALF("No teams available for %s\n",
- MapInfo_Type_ToString(MapInfo_CurrentGametype()));
+ LOG_FATALF("No teams available for %s\n", GetGametype());
}
RandomSelection_Init();
for (int i = 1; i <= NUM_TEAMS; ++i)