summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
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;
}