diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-10 10:53:51 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-10 10:53:51 -0600 |
commit | 2f9d09c33429913c103b8832b1082df52f52607b (patch) | |
tree | 3531c3dcd92d70062671ff7c67e8bbb476711fae /src | |
parent | 46c21ade3097a4cfd6709462ee9de786e4f0db81 (diff) | |
download | mana-client-2f9d09c33429913c103b8832b1082df52f52607b.tar.gz mana-client-2f9d09c33429913c103b8832b1082df52f52607b.tar.bz2 mana-client-2f9d09c33429913c103b8832b1082df52f52607b.tar.xz mana-client-2f9d09c33429913c103b8832b1082df52f52607b.zip |
Color party members differently in the minimap
Diffstat (limited to 'src')
-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 bae599a8..d939ea27 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -31,6 +31,7 @@ #include "player.h" #include "gui/palette.h" +#include "gui/partywindow.h" #include "resources/image.h" #include "resources/resourcemanager.h" @@ -184,6 +185,10 @@ void Minimap::draw(gcn::Graphics *graphics) type = Palette::SELF; dotSize = 3; } + else if (partyWindow->findMember(being->getId())) + { + type = Palette::PARTY; + } if (static_cast<const Player*>(being)->isGM()) type = Palette::GM_NAME; |