diff options
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 2720225d..08560b840 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -26,6 +26,7 @@ #include "../being.h" #include "../beingmanager.h" #include "../graphics.h" +#include "../localplayer.h" #include "../resources/image.h" @@ -82,15 +83,16 @@ void Minimap::draw(gcn::Graphics *graphics) for (bi = beings.begin(); bi != beings.end(); bi++) { Being *being = (*bi); - int dotSize = 1; + int dotSize = 2; switch (being->getType()) { - case Being::LOCALPLAYER: - dotSize = 3; - graphics->setColor(gcn::Color(209, 52, 61)); - break; - case Being::PLAYER: + if (being == player_node) + { + dotSize = 3; + graphics->setColor(gcn::Color(61, 209, 52)); + break; + } graphics->setColor(gcn::Color(61, 52, 209)); break; |