diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-09 21:10:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-09 21:10:01 +0300 |
commit | b4121ca0c5b2a74e02cce69c32316287ffc63034 (patch) | |
tree | 38837017fd2cef634a5c4b16778239d1f9345407 /src/localplayer.cpp | |
parent | d528e72adef79304c0b3cc55af838070a0af8ee1 (diff) | |
download | mv-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.gz mv-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.bz2 mv-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.xz mv-b4121ca0c5b2a74e02cce69c32316287ffc63034.zip |
Improve map class.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
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) { |