summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
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
{