diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-13 17:51:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-13 17:51:31 -0600 |
commit | 6c764b3c95d0c078c5ccebac607517353e64dc55 (patch) | |
tree | 7e1c62332a5f2fad4192f6799e895fbe896ecfa3 /src/localplayer.h | |
parent | c0bfb778b38e0212d645c3c03d88969b8abf4423 (diff) | |
download | mana-6c764b3c95d0c078c5ccebac607517353e64dc55.tar.gz mana-6c764b3c95d0c078c5ccebac607517353e64dc55.tar.bz2 mana-6c764b3c95d0c078c5ccebac607517353e64dc55.tar.xz mana-6c764b3c95d0c078c5ccebac607517353e64dc55.zip |
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).
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<Equipment> 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<std::string> mExpMessages; /**< Queued exp messages*/ - int mExpMessageTime; -#endif + std::list<std::string> mMessages; /**< Queued exp messages*/ + int mMessageTime; }; extern LocalPlayer *player_node; |