summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-26 15:24:21 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-26 15:25:08 -0700
commit692aac3122843c59610684802e25b92cc9f0a33c (patch)
tree6e889f5a53e116998e031291d1c0e2ff653c6493 /src/localplayer.cpp
parentfed093879282fac03c4fdcaa0aac519de468f1e1 (diff)
downloadmana-client-692aac3122843c59610684802e25b92cc9f0a33c.tar.gz
mana-client-692aac3122843c59610684802e25b92cc9f0a33c.tar.bz2
mana-client-692aac3122843c59610684802e25b92cc9f0a33c.tar.xz
mana-client-692aac3122843c59610684802e25b92cc9f0a33c.zip
Fix a few more _SUPPORT ifdefs and namespace PartyTab
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp5
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());