summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-30 22:47:15 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-30 22:47:15 +0300
commite4687ac984a6b025548e58bbac8795001d07bff3 (patch)
treecbd394e9fd50d062df54248c60aac9522e1146d4 /src/gui/minimap.cpp
parentc24c0389a9942efffe3090744b592b73b7e6a3bc (diff)
downloadmv-e4687ac984a6b025548e58bbac8795001d07bff3.tar.gz
mv-e4687ac984a6b025548e58bbac8795001d07bff3.tar.bz2
mv-e4687ac984a6b025548e58bbac8795001d07bff3.tar.xz
mv-e4687ac984a6b025548e58bbac8795001d07bff3.zip
Show guild members on minimap.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index c735eec82..dedf8077d 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -279,6 +279,11 @@ void Minimap::draw(gcn::Graphics *graphics)
{
type = UserPalette::PARTY;
}
+ else if (being->getGuild() == player_node->getGuild()
+ || being->getGuildName() == player_node->getGuildName())
+ {
+ type = UserPalette::GUILD;
+ }
else if (being)
{
switch (being->getType())