diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-28 16:49:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-28 16:49:51 +0300 |
commit | bbd0811ae3b62dc96796d8d6829bae0fe38c473b (patch) | |
tree | a24cfb307665fe87d88a9a41e2655ed4ceb4a0ff /src | |
parent | 6b6fbd4eb1c0122a1c5346f29d54f2aca9b11009 (diff) | |
download | manaverse-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.gz manaverse-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.bz2 manaverse-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.tar.xz manaverse-bbd0811ae3b62dc96796d8d6829bae0fe38c473b.zip |
Fix guild members sorting by positions.
Diffstat (limited to 'src')
-rw-r--r-- | src/guild.cpp | 3 |
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; |