diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
commit | 448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch) | |
tree | 35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/actions | |
parent | 9993fbc1d1bec556143d974f148869e1fb4c6307 (diff) | |
download | mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2 mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip |
Add some missing tmwa defines.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 4 |
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; } |