diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:24:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:24:20 +0300 |
commit | 886522371299b45254b7dc72e6de3070703d7c10 (patch) | |
tree | 738745eab76eb5f55a9adc08bfac10077b07efac /src/being.cpp | |
parent | 7cd309e7c9e0200cedb45edfeeba5a601d3fb446 (diff) | |
download | manaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.gz manaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.bz2 manaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.xz manaverse-886522371299b45254b7dc72e6de3070703d7c10.zip |
Enable server type selection again. Add evol server type. Now working same as tmweathena.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp index 688e838ee..6c0d3d679 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -352,7 +352,7 @@ void Being::setPosition(const Vector &pos) void Being::setDestination(int dstX, int dstY) { #ifdef MANASERV_SUPPORT - if (Net::getNetworkType() == ServerInfo::TMWATHENA) + if (Net::getNetworkType() != ServerInfo::MANASERV) #endif { if (mMap) @@ -414,7 +414,7 @@ void Being::setPath(const Path &path) return; #ifdef MANASERV_SUPPORT - if ((Net::getNetworkType() == ServerInfo::TMWATHENA) && + if ((Net::getNetworkType() != ServerInfo::MANASERV) && mAction != MOVE && mAction != DEAD) #else if (mAction != MOVE && mAction != DEAD) @@ -654,7 +654,7 @@ void Being::handleAttack(Being *victim, int damage, fireMissile(victim, mInfo->getAttack(mAttackType)->missileParticle); #ifdef MANASERV_SUPPORT - if (Net::getNetworkType() == ServerInfo::TMWATHENA) + if (Net::getNetworkType() != ServerInfo::MANASERV) #endif { reset(); @@ -1194,7 +1194,7 @@ void Being::logic() } } else - if (Net::getNetworkType() == ServerInfo::TMWATHENA) + if (Net::getNetworkType() != ServerInfo::MANASERV) #endif { switch (mAction) |