summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-10-02 00:14:27 +0200
committerBertram <bertram@cegetel.net>2009-10-02 00:14:27 +0200
commitd974f23b42ddeca3c9cf0d8489dc38d8524c5f12 (patch)
tree4121f55a7f3791a6ac3beb2fb36822b7e6abc859 /src/localplayer.cpp
parent06cdcf330ac656a94c03bb4e24a06bea090aa63a (diff)
downloadmana-client-d974f23b42ddeca3c9cf0d8489dc38d8524c5f12.tar.gz
mana-client-d974f23b42ddeca3c9cf0d8489dc38d8524c5f12.tar.bz2
mana-client-d974f23b42ddeca3c9cf0d8489dc38d8524c5f12.tar.xz
mana-client-d974f23b42ddeca3c9cf0d8489dc38d8524c5f12.zip
Removed non hurting eAthena ifdefs.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 6f4b6303..b5ad79eb 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -87,9 +87,7 @@ LocalPlayer::LocalPlayer(int id, int job, Map *map):
#endif
mEquipment(new Equipment),
mInStorage(false),
-#ifdef EATHENA_SUPPORT
mTargetTime(-1),
-#endif
mLastTarget(-1),
mCharacterPoints(0),
mCorrectionPoints(0),
@@ -192,7 +190,6 @@ void LocalPlayer::logic()
}
mSpecialRechargeUpdateNeeded++;
-#ifdef EATHENA_SUPPORT
// Targeting allowed 4 times a second
if (get_elapsed_time(mLastTarget) >= 250)
mLastTarget = -1;
@@ -204,7 +201,6 @@ void LocalPlayer::logic()
setTarget(NULL);
mLastTarget = -1;
}
-#endif
if (mTarget)
{
@@ -461,7 +457,6 @@ Being *LocalPlayer::getTarget() const
void LocalPlayer::setTarget(Being *target)
{
-#ifdef EATHENA_SUPPORT
if (mLastTarget != -1 || target == this)
return;
@@ -479,7 +474,6 @@ void LocalPlayer::setTarget(Being *target)
mKeepAttacking = false;
mTargetTime = -1;
}
-#endif
if (mTarget)
mTarget->untarget();