*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1173 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -34,6 +34,8 @@ 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;
|
||||
if((*x)->lifesequence > (*y)->lifesequence) return 1;
|
||||
if((*x)->lifesequence < (*y)->lifesequence) return -1;
|
||||
return strcmp((*x)->name, (*y)->name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user