summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/actormanager.cpp
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadmv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
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 e2bb85eb5..ba6db8c63 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -587,7 +587,9 @@ void ActorManager::findBeingsByPixel(std::vector<ActorSprite*> &beings,
case ActorType::Player:
case ActorType::Npc:
case ActorType::Monster:
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Pet:
case ActorType::Mercenary:
case ActorType::Homunculus:
@@ -1505,6 +1507,7 @@ Being* ActorManager::findMostDamagedPlayer(const int maxTileDist) const
return target;
}
+#ifdef TMWA_SUPPORT
void ActorManager::itenplz() const
{
if (Net::getNetworkType() != ServerType::TMWATHENA)
@@ -1522,6 +1525,7 @@ void ActorManager::itenplz() const
chatWindow->localChatInput(mSpellItenplz);
}
+#endif
bool ActorManager::hasActorSprite(const ActorSprite *const actor) const
{