From 886522371299b45254b7dc72e6de3070703d7c10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 May 2011 02:24:20 +0300 Subject: Enable server type selection again. Add evol server type. Now working same as tmweathena. --- src/being.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being.cpp') 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) -- cgit v1.2.3-60-g2f50