summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;