diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-06 20:58:18 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-07 00:25:09 +0800 |
commit | a4cdbe266f29d14c7e78409690da8de44f43a02f (patch) | |
tree | 734ead7bc806f6348b095f4647cb0d9b307fc817 /src/gui | |
parent | 7a9c5623cc4d69616321c87a7eeb0876694acafe (diff) | |
download | mana-client-a4cdbe266f29d14c7e78409690da8de44f43a02f.tar.gz mana-client-a4cdbe266f29d14c7e78409690da8de44f43a02f.tar.bz2 mana-client-a4cdbe266f29d14c7e78409690da8de44f43a02f.tar.xz mana-client-a4cdbe266f29d14c7e78409690da8de44f43a02f.zip |
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.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/minimap.cpp | 4 |
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: |