From 5744876f2f8da0ae48d90a746508a8ff96c91510 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Thu, 17 Apr 2008 12:48:43 +0000 Subject: Draw NPCs in yellow on minimap and skip drawing of warps. Based on idea by leeor_net. --- src/gui/minimap.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2