From a4cdbe266f29d14c7e78409690da8de44f43a02f Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Fri, 6 Jan 2012 20:58:18 +0800 Subject: Fixed minimap showing the right colors for npcs and monsters Actually Bertram explained the fix in the bugtracker and I only did what he said there. Resolves: Mana-mantis #444. Reviewed-by: Bertram. --- src/gui/minimap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 7ad034e4..6ee416f5 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -217,11 +217,11 @@ void Minimap::draw(gcn::Graphics *graphics) switch (being->getType()) { case ActorSprite::MONSTER: - graphics->setColor(userPalette->getColor(UserPalette::MONSTER)); + type = UserPalette::MONSTER; break; case ActorSprite::NPC: - graphics->setColor(userPalette->getColor(UserPalette::NPC)); + type = UserPalette::NPC; break; default: -- cgit v1.2.3-70-g09d2