*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1055 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-06-01 11:45:44 +00:00
parent 950ab21b9d
commit 8ec97d7e34
+2 -2
View File
@@ -34,7 +34,7 @@ static int scorecmp(const playerent **x, const playerent **y)
if((*x)->flagscore < (*y)->flagscore) return 1;
if((*x)->frags > (*y)->frags) return -1;
if((*x)->frags < (*y)->frags) return 1;
return 0;
return strcmp((*x)->name, (*y)->name);
}
struct teamscore
@@ -51,7 +51,7 @@ static int teamscorecmp(const teamscore *x, const teamscore *y)
if(x->flagscore < y->flagscore) return 1;
if(x->score > y->score) return -1;
if(x->score < y->score) return 1;
return 0;
return strcmp(x->team, y->team);
}
vector<teamscore> teamscores;