summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2008-04-18 20:39:57 +0000
committerYohann Ferreira <bertram@cegetel.net>2008-04-18 20:39:57 +0000
commitb0cdf9ffc57c43aa81187ac856d08da7e97955ba (patch)
treefac9ab3d292d3d508116f37ddff8254495a392ed /src/localplayer.h
parentdacb4895bd1985c1ac969767fc483f9200b343c8 (diff)
downloadmana-b0cdf9ffc57c43aa81187ac856d08da7e97955ba.tar.gz
mana-b0cdf9ffc57c43aa81187ac856d08da7e97955ba.tar.bz2
mana-b0cdf9ffc57c43aa81187ac856d08da7e97955ba.tar.xz
mana-b0cdf9ffc57c43aa81187ac856d08da7e97955ba.zip
Limited keyboard walk messages flooding to one message per 1/10 sec.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 2 insertions, 0 deletions
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<std::string> mExpMessages; /**< Queued exp messages*/
int mExpMessageTime;