fixed serverbrowser player sort direction
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3060 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -471,8 +471,8 @@ int sicompare(serverinfo **ap, serverinfo **bp)
|
||||
}
|
||||
else
|
||||
{
|
||||
if(a->numplayers>b->numplayers) return 1;
|
||||
if(a->numplayers<b->numplayers) return -1;
|
||||
if(a->numplayers<b->numplayers) return 1;
|
||||
if(a->numplayers>b->numplayers) return -1;
|
||||
}
|
||||
}
|
||||
int namecmp = strcmp(a->name, b->name);
|
||||
|
||||
Reference in New Issue
Block a user