diff options
author | Dennis Friis <peavey@placid.dk> | 2008-04-17 12:48:43 +0000 |
---|---|---|
committer | Dennis Friis <peavey@placid.dk> | 2008-04-17 12:48:43 +0000 |
commit | 5744876f2f8da0ae48d90a746508a8ff96c91510 (patch) | |
tree | c3cc14fcc72a8396da118fe8a2da5ac43bbf349e /src/gui | |
parent | a1e74a3175cf8e338688488c9d4361fcc882eb49 (diff) | |
download | mana-client-5744876f2f8da0ae48d90a746508a8ff96c91510.tar.gz mana-client-5744876f2f8da0ae48d90a746508a8ff96c91510.tar.bz2 mana-client-5744876f2f8da0ae48d90a746508a8ff96c91510.tar.xz mana-client-5744876f2f8da0ae48d90a746508a8ff96c91510.zip |
Draw NPCs in yellow on minimap and skip drawing of warps. Based on idea by leeor_net.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/minimap.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 4881573a..c17fa06b 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -95,8 +95,12 @@ void Minimap::draw(gcn::Graphics *graphics) graphics->setColor(gcn::Color(209, 52, 61)); break; - default: + case Being::NPC: + graphics->setColor(gcn::Color(255, 255, 0)); break; + + default: + continue; } int offset = (dotSize - 1) / 2; |