summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-28 16:49:51 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-28 16:49:51 +0300
commitbbd0811ae3b62dc96796d8d6829bae0fe38c473b (patch)
treea24cfb307665fe87d88a9a41e2655ed4ceb4a0ff /src
parent6b6fbd4eb1c0122a1c5346f29d54f2aca9b11009 (diff)
downloadplus-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.gz
plus-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.bz2
plus-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.xz
plus-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.zip
Fix guild members sorting by positions.
Diffstat (limited to 'src')
-rw-r--r--src/guild.cpp3
1 files changed, 1 insertions, 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;