From 2f9d09c33429913c103b8832b1082df52f52607b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 10 May 2009 10:53:51 -0600 Subject: Color party members differently in the minimap --- src/gui/minimap.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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(being)->isGM()) type = Palette::GM_NAME; -- cgit v1.2.3-70-g09d2