GCC fixes.

SVN r677 (trunk)
This commit is contained in:
Randy Heit 2008-01-08 01:48:33 +00:00
commit bec0d3438f
9 changed files with 30 additions and 22 deletions

View file

@ -2166,7 +2166,7 @@ static void M_PlayerSetupDrawer ()
(PSetupDef.y + LINEHEIGHT*3 + 57 - 104)*CleanYfac + (SCREENHEIGHT/2),
DTA_DestWidth, MulScale16 (tex->GetWidth() * CleanXfac, Scale),
DTA_DestHeight, MulScale16 (tex->GetHeight() * CleanYfac, Scale),
DTA_Translation, translationtables[TRANSLATION_Players][MAXPLAYERS],
DTA_Translation, translationtables[TRANSLATION_Players](MAXPLAYERS),
TAG_DONE);
}
}
@ -2596,7 +2596,7 @@ static void M_ChangePlayerTeam (int choice)
}
else
{
if (team == teams.Size () - 1)
if (team == int(teams.Size () - 1))
{
team = TEAM_None;
}