summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-28 12:12:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-28 12:12:36 +0300
commit972d2c8c815d8b8f7bd8648d8480b9461c435ea1 (patch)
tree643a7b83e33607869025bc5692d84c187cabffa4
parenta3a4d08701f03a9ce5b448d8666146afee876ada (diff)
downloadmanaplus-972d2c8c815d8b8f7bd8648d8480b9461c435ea1.tar.gz
manaplus-972d2c8c815d8b8f7bd8648d8480b9461c435ea1.tar.bz2
manaplus-972d2c8c815d8b8f7bd8648d8480b9461c435ea1.tar.xz
manaplus-972d2c8c815d8b8f7bd8648d8480b9461c435ea1.zip
Show portals in minimap with hightlight portal color.
-rw-r--r--src/gui/windows/minimap.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 815639e67..760020ca5 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -327,11 +327,14 @@ void Minimap::draw(Graphics *graphics)
type = UserPalette::NPC;
break;
+ case ActorType::Portal:
+ type = UserPalette::PORTAL_HIGHLIGHT;
+ break;
+
case ActorType::Avatar:
case ActorType::Unknown:
case ActorType::Player:
case ActorType::FloorItem:
- case ActorType::Portal:
case ActorType::LocalPet:
case ActorType::Pet:
case ActorType::Mercenary: