From 18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Aug 2012 02:20:52 +0300 Subject: Fix code style again. --- src/being.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/being.cpp') 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(dest.y); setPath(thisPath); +#endif } void Being::clearPath() -- cgit v1.2.3-70-g09d2