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/actormanager.cpp | |
parent | f74e2b6c8b019bceb02e25aa53e988918fd5d278 (diff) | |
download | plus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.gz plus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.bz2 plus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.xz plus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.zip |
Add some missing tmwa defines. Fix compilation error without tmwa support.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 59bfb9708..be9f6e7a6 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -309,7 +309,9 @@ Being *ActorManager::createBeing(const BeingId id, break; default: case ActorType::FloorItem: +#ifdef TMWA_SUPPORT case ActorType::LocalPet: +#endif case ActorType::Avatar: case ActorType::Unknown: reportAlways("CreateBeing for unknown type %d", CAST_S32(type)); @@ -1391,6 +1393,7 @@ bool ActorManager::validateBeing(const Being *const aroundBeing, || localPlayer->isReachable(being, maxCost)); } +#ifdef TMWA_SUPPORT void ActorManager::healTarget() const { if (!localPlayer) @@ -1482,6 +1485,7 @@ void ActorManager::heal(const Being *const target) const } } } +#endif // TMWA_SUPPORT Being* ActorManager::findMostDamagedPlayer(const int maxTileDist) const { |