summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index bfd06f2f0..3a7f08dda 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -893,6 +893,7 @@ void Being::setAction(Action action, int attackType _UNUSED_)
currentAction = mInfo->getAttack(attackType)->action;
reset();
+#ifdef MANASERV_SUPPORT
if (Net::getNetworkType() == ServerInfo::MANASERV
&& mInfo->getAttack(attackType))
{
@@ -920,6 +921,7 @@ void Being::setAction(Action action, int attackType _UNUSED_)
}
}
}
+#endif
}
break;
@@ -1082,6 +1084,7 @@ void Being::logic()
}
int frameCount = static_cast<int>(getFrameCount());
+#ifdef MANASERV_SUPPORT
if ((Net::getNetworkType() == ServerInfo::MANASERV) && (mAction != DEAD))
{
const Vector dest = (mPath.empty()) ?
@@ -1163,9 +1166,10 @@ void Being::logic()
setAction(STAND);
}
}
- else if (Net::getNetworkType() == ServerInfo::TMWATHENA)
+ else
+#endif
+ if (Net::getNetworkType() == ServerInfo::TMWATHENA)
{
-
switch (mAction)
{
case STAND: