summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index e230d5a5a..b463f3388 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -379,6 +379,7 @@ void Being::setDestination(int dstX, int dstY)
return;
}
+#ifdef MANASERV_SUPPORT
// Don't handle flawed destinations from server...
if (dstX == 0 || dstY == 0)
return;
@@ -413,6 +414,7 @@ void Being::setDestination(int dstX, int dstY)
mDest.y = static_cast<float>(dest.y);
setPath(thisPath);
+#endif
}
void Being::clearPath()