diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:34:59 +0300 |
commit | b96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch) | |
tree | d021843c88d856f86f018547c30f1181290ffcbe /src/actormanager.cpp | |
parent | 60859a71dd9794b0216cc7a60146d417e06dbbad (diff) | |
download | manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2 manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip |
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 4edd23476..e2bb85eb5 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -199,9 +199,7 @@ ActorManager::ActorManager() : mActorsIdMap(), mIdName(), mBlockedBeings(), -#ifdef EATHENA_SUPPORT mChars(), -#endif mMap(nullptr), mSpellHeal1(serverConfig.getValue("spellHeal1", "#lum")), mSpellHeal2(serverConfig.getValue("spellHeal2", "#inma")), @@ -277,11 +275,9 @@ Being *ActorManager::createBeing(const BeingId id, mActorsIdMap[being->getId()] = being; if (type == ActorType::Player -#ifdef EATHENA_SUPPORT || type == ActorType::Mercenary || type == ActorType::Pet || type == ActorType::Homunculus -#endif || type == ActorType::Npc) { being->updateFromCache(); @@ -592,12 +588,10 @@ void ActorManager::findBeingsByPixel(std::vector<ActorSprite*> &beings, case ActorType::Npc: case ActorType::Monster: case ActorType::LocalPet: -#ifdef EATHENA_SUPPORT case ActorType::Pet: case ActorType::Mercenary: case ActorType::Homunculus: case ActorType::SkillUnit: -#endif { const Being *const being = static_cast<const Being*>(*it); if (!being) @@ -1003,9 +997,7 @@ void ActorManager::clear() mActorsIdMap[localPlayer->getId()] = localPlayer; } -#ifdef EATHENA_SUPPORT mChars.clear(); -#endif } Being *ActorManager::findNearestPvpPlayer() const @@ -1391,10 +1383,8 @@ void ActorManager::healTarget() const void ActorManager::heal(const Being *const target) const { -#ifdef EATHENA_SUPPORT if (Net::getNetworkType() != ServerType::TMWATHENA) return; -#endif if (!localPlayer || !chatWindow || @@ -1517,10 +1507,8 @@ Being* ActorManager::findMostDamagedPlayer(const int maxTileDist) const void ActorManager::itenplz() const { -#ifdef EATHENA_SUPPORT if (Net::getNetworkType() != ServerType::TMWATHENA) return; -#endif if (!localPlayer || !chatWindow || !localPlayer->isAlive() || @@ -2178,7 +2166,6 @@ std::string ActorManager::getSeenPlayerById(const BeingId id) const return std::string(); } -#ifdef EATHENA_SUPPORT void ActorManager::removeRoom(const int chatId) { for_actors @@ -2237,5 +2224,3 @@ void ActorManager::addChar(const int32_t id, guiInput->simulateMouseMove(); } - -#endif |