diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-04 01:58:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-04 01:58:51 +0300 |
commit | f2013e1e567d2a91be8b696cdd1db3edd5906f99 (patch) | |
tree | 20d0288ea17f2da33b4887f0e8734063ca7134a5 /src/actions/actions.cpp | |
parent | f74e2b6c8b019bceb02e25aa53e988918fd5d278 (diff) | |
download | ManaVerse-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.gz ManaVerse-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.bz2 ManaVerse-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.xz ManaVerse-f2013e1e567d2a91be8b696cdd1db3edd5906f99.zip |
Add some missing tmwa defines. Fix compilation error without tmwa support.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 11 |
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; } |