Merge branch 'master' into jgrpp
# Conflicts: # src/ai/ai_gui.cpp # src/company_cmd.cpp # src/lang/estonian.txt # src/lang/german.txt # src/lang/hungarian.txt # src/lang/korean.txt # src/lang/slovak.txt # src/main_gui.cpp # src/video/sdl2_v.cpp
This commit is contained in:
@@ -345,10 +345,9 @@ protected:
|
||||
if (r == 0) r = b->info.compatible - a->info.compatible;
|
||||
/* Passworded servers should be below unpassworded servers */
|
||||
if (r == 0) r = a->info.use_password - b->info.use_password;
|
||||
/* Finally sort on the number of clients of the server */
|
||||
if (r == 0) return NGameClientSorter(a, b);
|
||||
|
||||
return r < 0;
|
||||
/* Finally sort on the number of clients of the server in reverse order. */
|
||||
return (r != 0) ? r < 0: !NGameClientSorter(a, b);
|
||||
}
|
||||
|
||||
/** Sort the server list */
|
||||
|
Reference in New Issue
Block a user