summaryrefslogtreecommitdiff
path: root/src/guild.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-27 06:03:15 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-27 06:03:15 +0300
commit58ce176510f85a07523690d9cd67df850a8b1f58 (patch)
tree476c2f01a141d35b6c688af9de352d1bef2b6893 /src/guild.cpp
parent88487446af6f9e01fe27b63e7710c991b998d4b9 (diff)
downloadManaVerse-58ce176510f85a07523690d9cd67df850a8b1f58.tar.gz
ManaVerse-58ce176510f85a07523690d9cd67df850a8b1f58.tar.bz2
ManaVerse-58ce176510f85a07523690d9cd67df850a8b1f58.tar.xz
ManaVerse-58ce176510f85a07523690d9cd67df850a8b1f58.zip
Put online player at top in guild list.
Diffstat (limited to 'src/guild.cpp')
-rw-r--r--src/guild.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index e36b68863..57b3d52e1 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -36,8 +36,8 @@ class SortGuildFunctor
if (m1->getPos() != m2->getPos())
return m1->getPos() < m2->getPos();
-// if (m1->getOnline() != m2->getOnline())
-// return m1->getOnline() > m2->getOnline();
+ if (m1->getOnline() != m2->getOnline())
+ return m1->getOnline() > m2->getOnline();
return m1->getName() < m2->getName();
}