summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-04 01:58:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-04 01:58:51 +0300
commitf2013e1e567d2a91be8b696cdd1db3edd5906f99 (patch)
tree20d0288ea17f2da33b4887f0e8734063ca7134a5 /src/actions
parentf74e2b6c8b019bceb02e25aa53e988918fd5d278 (diff)
downloadmanaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.gz
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.bz2
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.xz
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.zip
Add some missing tmwa defines. Fix compilation error without tmwa support.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index cf82dc8e6..b2760a482 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -499,6 +499,7 @@ impHandler(dropItemInvAll)
return true;
}
+#ifdef TMWA_SUPPORT
impHandler(heal)
{
if (Net::getNetworkType() != ServerType::TMWATHENA)
@@ -549,9 +550,17 @@ impHandler(heal)
}
return false;
}
+#else // TMWA_SUPPORT
+
+impHandler0(heal)
+{
+ return false;
+}
+#endif // TMWA_SUPPORT
impHandler0(healmd)
{
+#ifdef TMWA_SUPPORT
if (Net::getNetworkType() != ServerType::TMWATHENA)
return false;
if (actorManager)
@@ -578,6 +587,8 @@ impHandler0(healmd)
Game::instance()->setValidSpeed();
return true;
}
+#endif // TMWA_SUPPORT
+
return false;
}