*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1053 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-06-01 11:33:15 +00:00
parent eb443bfda4
commit 07eb2ba9e5
+7 -1
View File
@@ -396,7 +396,13 @@ void checkpings()
int sicompare(const serverinfo *a, const serverinfo *b)
{
return a->ping>b->ping ? 1 : (a->ping<b->ping ? -1 : strcmp(a->name, b->name));
if((a->protocol==PROTOCOL_VERSION) > (b->protocol==PROTOCOL_VERSION)) return -1;
if((b->protocol==PROTOCOL_VERSION) > (a->protocol==PROTOCOL_VERSION)) return 1;
if(a->numplayers<b->numplayers) return 1;
if(a->numplayers>b->numplayers) return -1;
if(a->ping>b->ping) return 1;
if(a->ping<b->ping) return -1;
return strcmp(a->name, b->name);
}
void *servmenu = NULL;