teams = Sort_Spawn();
players = Sort_Spawn();
- GetTeam(FL_SPECTATOR, true); // add specs first
+ GetTeam(NUM_SPECTATOR, true); // add specs first
// needs to be done so early because of the constants they create
CALL_ACCUMULATED_FUNCTION(RegisterWeapons);
switch(Team)
{
case -1:
- case FL_TEAM_1:
- case FL_TEAM_2:
- case FL_TEAM_3:
- case FL_TEAM_4:
+ case NUM_TEAM_1:
+ case NUM_TEAM_2:
+ case NUM_TEAM_3:
+ case NUM_TEAM_4:
break;
default:
if(GetTeam(Team, false) == world)
{
print(sprintf(_("trying to switch to unsupported team %d\n"), Team));
- Team = FL_SPECTATOR;
+ Team = NUM_SPECTATOR;
}
break;
}
if(GetTeam(Team, false) == world)
{
print(sprintf(_("trying to switch to unsupported team %d\n"), Team));
- Team = FL_SPECTATOR;
+ Team = NUM_SPECTATOR;
}
break;
}