diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-22 20:42:35 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-22 20:42:35 +0000 |
commit | aed1ad6210fa1ed0a70da5d87082cedff0bd516a (patch) | |
tree | 42deb89d76a9a2d1a9b6940bf27203fb3049f98b /src/net | |
parent | 700b390ee8cf1ab9468999d1c10188da65e5fb51 (diff) | |
download | mana-client-aed1ad6210fa1ed0a70da5d87082cedff0bd516a.tar.gz mana-client-aed1ad6210fa1ed0a70da5d87082cedff0bd516a.tar.bz2 mana-client-aed1ad6210fa1ed0a70da5d87082cedff0bd516a.tar.xz mana-client-aed1ad6210fa1ed0a70da5d87082cedff0bd516a.zip |
Make sure chat messages are also trimmed for the local player.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/chathandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/chathandler.cpp b/src/net/chathandler.cpp index c8f52e2b..dbbb84a5 100644 --- a/src/net/chathandler.cpp +++ b/src/net/chathandler.cpp @@ -98,6 +98,7 @@ void ChatHandler::handleMessage(MessageIn *msg) { chatMsg.erase(0, pos + 3); } + trim(chatMsg); player_node->setSpeech(chatMsg, SPEECH_TIME); } else |