diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-26 15:24:21 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-26 15:25:08 -0700 |
commit | 692aac3122843c59610684802e25b92cc9f0a33c (patch) | |
tree | 6e889f5a53e116998e031291d1c0e2ff653c6493 /src/localplayer.cpp | |
parent | fed093879282fac03c4fdcaa0aac519de468f1e1 (diff) | |
download | mana-692aac3122843c59610684802e25b92cc9f0a33c.tar.gz mana-692aac3122843c59610684802e25b92cc9f0a33c.tar.bz2 mana-692aac3122843c59610684802e25b92cc9f0a33c.tar.xz mana-692aac3122843c59610684802e25b92cc9f0a33c.zip |
Fix a few more _SUPPORT ifdefs and namespace PartyTab
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 6ec334ed..79ea00af 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -579,14 +579,11 @@ void LocalPlayer::startWalking(unsigned char dir) if (!mMap || !dir) return; -#ifdef MANASERV_SUPPORT - const Vector &pos = getPosition(); -#endif - if (mAction == WALK && !mPath.empty()) { // Just finish the current action, otherwise we get out of sync #ifdef MANASERV_SUPPORT + const Vector &pos = getPosition(); Being::setDestination(pos.x, pos.y); #else Being::setDestination(getTileX(), getTileY()); |