summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/gui/minimap.cpp6
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 70137b22..e9e01f07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* src/gui/sell.cpp: Fix shop list not to scroll to top when selling.
Redo of revision 3801 due to changes in guichan 0.8.0.
+ * src/gui/minimap.cpp: Draw NPCs in yellow on minimap and skip drawing
+ of warps. Based on idea by leeor_net.
2008-04-16 Dennis Friis <peavey@placid.dk>
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;