summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/actions
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadmanaverse-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
manaverse-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
manaverse-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
manaverse-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
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;
}