From 6c764b3c95d0c078c5ccebac607517353e64dc55 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 13 Jul 2009 17:51:31 -0600 Subject: Fix level experience messages THe experience message queue is now a general queue for serial messages (ie: not messages like battle messages that should be done immediately). --- src/localplayer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index c1ceaf37..702ae38c 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -375,6 +375,8 @@ class LocalPlayer : public Player const std::auto_ptr mEquipment; + void addMessageToQueue(const std::string &message); + protected: virtual void handleStatusEffect(StatusEffect *effect, int effectId); @@ -441,10 +443,8 @@ class LocalPlayer : public Player /** Animated target cursors. */ SimpleAnimation *mTargetCursor[2][NUM_TC]; -#ifdef TMWSERV_SUPPORT - std::list mExpMessages; /**< Queued exp messages*/ - int mExpMessageTime; -#endif + std::list mMessages; /**< Queued exp messages*/ + int mMessageTime; }; extern LocalPlayer *player_node; -- cgit v1.2.3-70-g09d2