From bbd0811ae3b62dc96796d8d6829bae0fe38c473b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Aug 2011 16:49:51 +0300 Subject: Fix guild members sorting by positions. --- src/guild.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/guild.cpp b/src/guild.cpp index d79e6fd17..98e5bb519 100644 --- a/src/guild.cpp +++ b/src/guild.cpp @@ -40,7 +40,7 @@ class SortGuildFunctor return m1->getOnline() > m2->getOnline(); if (m1->getPos() != m2->getPos()) - return m1->getPos() < m2->getPos(); + return m1->getPos() > m2->getPos(); if (m1->getName() != m2->getName()) { @@ -51,7 +51,6 @@ class SortGuildFunctor return s1 < s2; } return false; -// return m1->getName() < m2->getName(); } } guildSorter; -- cgit v1.2.3-70-g09d2