summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/minimap.cpp6
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;