summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-17 13:59:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-17 13:59:36 +0300
commitde1c28279bebbbd266e5c3020a38274e20cebb5c (patch)
treeecbb37280e9295380b994bea25544d381c16975f /src/gui/windows/minimap.cpp
parent819b10633d3218ac4b758e62051d0c1376d91205 (diff)
downloadmv-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.gz
mv-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.bz2
mv-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.xz
mv-de1c28279bebbbd266e5c3020a38274e20cebb5c.zip
Add eathena defines into actortype enum.
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 8fcb175ef..64c69b1e1 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -332,10 +332,12 @@ void Minimap::draw(Graphics *graphics)
break;
case ActorType::LocalPet:
+#ifdef EATHENA_SUPPORT
case ActorType::Pet:
+#endif
type = UserPalette::PET;
break;
-
+#ifdef EATHENA_SUPPORT
case ActorType::Mercenary:
type = UserPalette::MERCENARY;
break;
@@ -343,7 +345,7 @@ void Minimap::draw(Graphics *graphics)
case ActorType::Homunculus:
type = UserPalette::HOMUNCULUS;
break;
-
+#endif
case ActorType::Avatar:
case ActorType::Unknown:
case ActorType::Player: