From b0cdf9ffc57c43aa81187ac856d08da7e97955ba Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Fri, 18 Apr 2008 20:39:57 +0000 Subject: Limited keyboard walk messages flooding to one message per 1/10 sec. --- src/localplayer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 75a1af7d..832b7eb4 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -367,6 +367,8 @@ class LocalPlayer : public Player int mWalkingDir; /**< The direction the player is walking in. */ int mDestX; /**< X coordinate of destination. */ int mDestY; /**< Y coordinate of destination. */ + int mLocalWalkTime; /**< Timestamp used to control keyboard walk + messages flooding */ std::list mExpMessages; /**< Queued exp messages*/ int mExpMessageTime; -- cgit v1.2.3-70-g09d2