summaryrefslogtreecommitdiff
path: root/src/being
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
parent1cbf33d3e77b119aa0743551bd68ae0aa55d36c9 (diff)
downloadmanaplus-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.gz
manaplus-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.bz2
manaplus-b1deabf2284621162c35b7c0a55b3d1be205d30d.tar.xz
manaplus-b1deabf2284621162c35b7c0a55b3d1be205d30d.zip
Remove unused variable from LocalPlayer.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h3
2 files changed, 0 insertions, 5 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),
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index f6813a171..e6b7a99d2 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -455,9 +455,6 @@ class LocalPlayer final : public Being,
std::vector<int> mStatusEffectIcons;
- int mLocalWalkTime; // Timestamp used to control keyboard walk
- // messages flooding
-
typedef std::pair<std::string, int> MessagePair;
/** Queued messages*/
std::list<MessagePair> mMessages;