summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-07 13:39:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-07 13:39:27 +0300
commitb1deabf2284621162c35b7c0a55b3d1be205d30d (patch)
treede5a4d92e59b49e6acc5c6ff80aa75b25996dcd1 /src/being/localplayer.cpp
parent1cbf33d3e77b119aa0743551bd68ae0aa55d36c9 (diff)
downloadmv-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.gz
mv-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.bz2
mv-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.xz
mv-b1deabf2284621162c35b7c0a55b3d1be205d30d.zip
Remove unused variable from LocalPlayer.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index b77d34f22..bc1cf5bd5 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -127,7 +127,6 @@ LocalPlayer::LocalPlayer(const int id, const uint16_t subtype) :
mPickUpTarget(nullptr),
mLastAction(-1),
mStatusEffectIcons(),
- mLocalWalkTime(-1),
mMessages(),
mMessageTime(0),
mAwayListener(new AwayListener),
@@ -656,7 +655,6 @@ void LocalPlayer::stopWalking(const bool sendToServer)
if (mAction == BeingAction::MOVE && mWalkingDir)
{
mWalkingDir = 0;
- mLocalWalkTime = 0;
mPickUpTarget = nullptr;
setDestination(static_cast<int>(getPosition().x),