summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBertram <yohanndotferreiraatorange.fr>2010-04-16 13:58:56 +0200
committerBertram <yohanndotferreiraatorange.fr>2010-04-17 12:03:44 +0200
commit3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5 (patch)
tree5737c40d37a7b87897b9dc9b422198b28a18b13a /src/being.cpp
parent924760c45e0f1aa1105e192bd83d6a4ce2c80f81 (diff)
downloadmana-client-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.gz
mana-client-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.bz2
mana-client-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.xz
mana-client-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.zip
Changed eAthena protocol name to TmwAthena and changed the config files accordingly.
This makes room for the actual eAthena protocol future inclusion.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 47c31c36..5c737c0c 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -129,7 +129,7 @@ void Being::setPosition(const Vector &pos)
void Being::setDestination(int dstX, int dstY)
{
- if (Net::getNetworkType() == ServerInfo::EATHENA)
+ if (Net::getNetworkType() == ServerInfo::TMWATHENA)
{
if (mMap)
setPath(mMap->findPath(mX, mY, dstX, dstY, getWalkMask()));
@@ -185,7 +185,7 @@ void Being::setPath(const Path &path)
{
mPath = path;
- if ((Net::getNetworkType() == ServerInfo::EATHENA) &&
+ if ((Net::getNetworkType() == ServerInfo::TMWATHENA) &&
mAction != WALK && mAction != DEAD)
{
nextTile();
@@ -317,7 +317,7 @@ void Being::handleAttack(Being *victim, int damage, AttackType type)
fireMissile(victim, mEquippedWeapon->getMissileParticle());
}
}
- if (Net::getNetworkType() == ServerInfo::EATHENA)
+ if (Net::getNetworkType() == ServerInfo::TMWATHENA)
{
mFrame = 0;
mWalkTime = tick_time;
@@ -605,7 +605,7 @@ void Being::logic()
setAction(STAND);
}
}
- else if (Net::getNetworkType() == ServerInfo::EATHENA)
+ else if (Net::getNetworkType() == ServerInfo::TMWATHENA)
{
// Update pixel coordinates
setPosition(mX * 32 + 16 + getXOffset(),