summaryrefslogtreecommitdiff
path: root/src/guild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guild.cpp')
-rw-r--r--src/guild.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index b84602858..e36b68863 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -36,6 +36,9 @@ class SortGuildFunctor
if (m1->getPos() != m2->getPos())
return m1->getPos() < m2->getPos();
+// if (m1->getOnline() != m2->getOnline())
+// return m1->getOnline() > m2->getOnline();
+
return m1->getName() < m2->getName();
}
} guildSorter;
@@ -66,7 +69,8 @@ Guild::GuildMap Guild::guilds;
Guild::Guild(short id):
mId(id),
mCanInviteUsers(false),
- mEmblemId(0)
+ mEmblemId(0),
+ mServerGuild(true)
{
guilds[id] = this;
}