From f2013e1e567d2a91be8b696cdd1db3edd5906f99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Aug 2016 01:58:51 +0300 Subject: Add some missing tmwa defines. Fix compilation error without tmwa support. --- src/actions/actions.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/actions/actions.cpp') 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; } -- cgit v1.2.3-70-g09d2