From b1deabf2284621162c35b7c0a55b3d1be205d30d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Aug 2014 13:39:27 +0300 Subject: Remove unused variable from LocalPlayer. --- src/being/localplayer.cpp | 2 -- src/being/localplayer.h | 3 --- 2 files changed, 5 deletions(-) (limited to 'src/being') 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(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 mStatusEffectIcons; - int mLocalWalkTime; // Timestamp used to control keyboard walk - // messages flooding - typedef std::pair MessagePair; /** Queued messages*/ std::list mMessages; -- cgit v1.2.3-70-g09d2