summaryrefslogtreecommitdiff
path: root/src/actions
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/actions
parent819b10633d3218ac4b758e62051d0c1376d91205 (diff)
downloadplus-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.gz
plus-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.bz2
plus-de1c28279bebbbd266e5c3020a38274e20cebb5c.tar.xz
plus-de1c28279bebbbd266e5c3020a38274e20cebb5c.zip
Add eathena defines into actortype enum.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/target.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/target.cpp b/src/actions/target.cpp
index e01871cdb..7195f5d0c 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -70,12 +70,16 @@ impHandler0(targetNPC)
impHandler0(targetMercenary)
{
+#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Mercenary, true);
+#endif
}
impHandler0(targetPet)
{
+#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Pet, true);
+#endif
}
impHandler0(contextMenu)