From b4121ca0c5b2a74e02cce69c32316287ffc63034 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Mar 2013 21:10:01 +0300 Subject: Improve map class. --- src/localplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 031844ffd..65f2faaba 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -390,6 +390,7 @@ void LocalPlayer::setGMLevel(const int level) } } +#ifdef MANASERV_SUPPORT Position LocalPlayer::getNextWalkPosition(const unsigned char dir) const { // Compute where the next tile will be set. @@ -786,6 +787,7 @@ Position LocalPlayer::getNextWalkPosition(const unsigned char dir) const // Return the current position if everything else has failed. return Position(posX, posY); } +#endif void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) { -- cgit v1.2.3-60-g2f50