- Added teamgame fix for menu by Karate Chris.

- Added GZDoom's Sector_Outside sector type which forces outside fog
  regardless of ceiling texture.


SVN r670 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-06 10:05:24 +00:00
commit fdbd18c50e
5 changed files with 14 additions and 4 deletions

View file

@ -2585,7 +2585,7 @@ static void M_ChangePlayerTeam (int choice)
{
team = TEAM_None;
}
else if (!TEAMINFO_IsValidTeam (team))
else if (team == TEAM_None)
{
team = teams.Size () - 1;
}
@ -2596,7 +2596,11 @@ static void M_ChangePlayerTeam (int choice)
}
else
{
if (!TEAMINFO_IsValidTeam (team))
if (team == teams.Size () - 1)
{
team = TEAM_None;
}
else if (team == TEAM_None)
{
team = 0;
}