summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index eb652d9b7..cf82dc8e6 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -583,6 +583,7 @@ impHandler0(healmd)
impHandler0(itenplz)
{
+#ifdef TMWA_SUPPORT
if (Net::getNetworkType() != ServerType::TMWATHENA)
return false;
if (actorManager)
@@ -595,6 +596,7 @@ impHandler0(itenplz)
}
return true;
}
+#endif
return false;
}
@@ -610,6 +612,7 @@ impHandler0(setHome)
impHandler0(magicAttack)
{
+#ifdef TMWA_SUPPORT
if (Net::getNetworkType() != ServerType::TMWATHENA)
return false;
if (localPlayer)
@@ -617,6 +620,7 @@ impHandler0(magicAttack)
localPlayer->magicAttack();
return true;
}
+#endif
return false;
}