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/being/localplayer.cpp | |
parent | 60859a71dd9794b0216cc7a60146d417e06dbbad (diff) | |
download | manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2 manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz manaplus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip |
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index abecee8de..62f30a015 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -480,9 +480,7 @@ void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) Being::nextTile(); } -#ifdef EATHENA_SUPPORT PlayerInfo::updateMoveAI(); -#endif } bool LocalPlayer::pickUp(FloorItem *const item) @@ -821,9 +819,7 @@ void LocalPlayer::attack(Being *const target, const bool keep, const BeingId targetId = target->getId(); playerHandler->attack(targetId, mServerAttack); -#ifdef EATHENA_SUPPORT PlayerInfo::updateAttackAi(targetId, mServerAttack); -#endif } if (!keep) @@ -1644,10 +1640,8 @@ void LocalPlayer::specialMove(const unsigned char direction) void LocalPlayer::magicAttack() const { -#ifdef EATHENA_SUPPORT if (Net::getNetworkType() != ServerType::TMWATHENA) return; -#endif if (!chatWindow || !isAlive() || !playerHandler->canUseMagic()) { |