diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-30 22:47:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-30 22:47:15 +0300 |
commit | e4687ac984a6b025548e58bbac8795001d07bff3 (patch) | |
tree | cbd394e9fd50d062df54248c60aac9522e1146d4 /src/gui | |
parent | c24c0389a9942efffe3090744b592b73b7e6a3bc (diff) | |
download | manaverse-e4687ac984a6b025548e58bbac8795001d07bff3.tar.gz manaverse-e4687ac984a6b025548e58bbac8795001d07bff3.tar.bz2 manaverse-e4687ac984a6b025548e58bbac8795001d07bff3.tar.xz manaverse-e4687ac984a6b025548e58bbac8795001d07bff3.zip |
Show guild members on minimap.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/minimap.cpp | 5 |
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()) |