summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-10 10:53:51 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-10 10:53:51 -0600
commit2f9d09c33429913c103b8832b1082df52f52607b (patch)
tree3531c3dcd92d70062671ff7c67e8bbb476711fae /src/gui/minimap.cpp
parent46c21ade3097a4cfd6709462ee9de786e4f0db81 (diff)
downloadmana-2f9d09c33429913c103b8832b1082df52f52607b.tar.gz
mana-2f9d09c33429913c103b8832b1082df52f52607b.tar.bz2
mana-2f9d09c33429913c103b8832b1082df52f52607b.tar.xz
mana-2f9d09c33429913c103b8832b1082df52f52607b.zip
Color party members differently in the 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 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;