From e4687ac984a6b025548e58bbac8795001d07bff3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Aug 2011 22:47:15 +0300 Subject: Show guild members on minimap. --- src/gui/minimap.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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()) -- cgit v1.2.3-70-g09d2