summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 21:10:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 21:10:01 +0300
commitb4121ca0c5b2a74e02cce69c32316287ffc63034 (patch)
tree38837017fd2cef634a5c4b16778239d1f9345407 /src/localplayer.cpp
parentd528e72adef79304c0b3cc55af838070a0af8ee1 (diff)
downloadManaVerse-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.gz
ManaVerse-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.bz2
ManaVerse-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.xz
ManaVerse-b4121ca0c5b2a74e02cce69c32316287ffc63034.zip
Improve map class.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
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)
{