summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
commit18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch)
treedb753995392ae8e6c5202467f417f31deb8717f0 /src/being.cpp
parentc3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff)
downloadmv-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz
mv-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2
mv-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz
mv-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip
Fix code style again.
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()