summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
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: