summaryrefslogtreecommitdiff
path: root/src/actions/target.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-24 18:07:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-24 18:07:19 +0300
commit9d2eb460fa3569342044b6f3e61d52d86ca8cbb6 (patch)
tree70b9b43072ae67a379fea3693d8671bb75d2a0fa /src/actions/target.cpp
parent30da377919524a96a385cbe16f8ab74d5a4a7fab (diff)
downloadmanaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.gz
manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.bz2
manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.xz
manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.zip
fix compilation warnings.
Diffstat (limited to 'src/actions/target.cpp')
-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 7195f5d0c..b4a2c8058 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -72,6 +72,8 @@ impHandler0(targetMercenary)
{
#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Mercenary, true);
+#else
+ return false;
#endif
}
@@ -79,6 +81,8 @@ impHandler0(targetPet)
{
#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Pet, true);
+#else
+ return false;
#endif
}