summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
commit886522371299b45254b7dc72e6de3070703d7c10 (patch)
tree738745eab76eb5f55a9adc08bfac10077b07efac /src/being.cpp
parent7cd309e7c9e0200cedb45edfeeba5a601d3fb446 (diff)
downloadmv-886522371299b45254b7dc72e6de3070703d7c10.tar.gz
mv-886522371299b45254b7dc72e6de3070703d7c10.tar.bz2
mv-886522371299b45254b7dc72e6de3070703d7c10.tar.xz
mv-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.cpp8
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)