- GCC warning fixes (GCC stupidity for the most part.)

SVN r3154 (trunk)
This commit is contained in:
Christoph Oelckers 2011-02-19 08:59:43 +00:00
commit 1993e969b7
38 changed files with 152 additions and 119 deletions

View file

@ -245,7 +245,7 @@ void FTeam::ClearTeams ()
bool FTeam::IsValidTeam (unsigned int uiTeam)
{
if (uiTeam < 0 || uiTeam >= Teams.Size ())
if (uiTeam >= Teams.Size ())
return false;
return true;