From 6ed84aff8d4f96f28c1b65b54f209803de7e23c3 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 Jan 2012 22:35:19 +0000 Subject: (svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name --- src/network/network_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 539087ff8..d6fc35c28 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -320,8 +320,8 @@ 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 name of the server */ - if (r == 0) r = NGameNameSorter(a, b); + /* Finally sort on the number of clients of the server */ + if (r == 0) r = -NGameClientSorter(a, b); return r; } -- cgit v1.2.3-70-g09d2