diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-23 01:51:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-23 01:51:17 +0300 |
commit | fe39570810969993f51a0ff6045d0a5d4397a5e5 (patch) | |
tree | 6d9641f625fdee333143934c0251cfa0dd870bd3 /src/net/tmwa/chathandler.cpp | |
parent | cff9e8d8f4bd6b678ad420c9e17eff729eecae4d (diff) | |
download | mv-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.gz mv-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.bz2 mv-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.xz mv-fe39570810969993f51a0ff6045d0a5d4397a5e5.zip |
Show speach messages variable time, depend on message size.
Diffstat (limited to 'src/net/tmwa/chathandler.cpp')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index d8a842003..3a3b45a3c 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -278,7 +278,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) if (player_relations.hasPermission(sender_name, PlayerRelation::SPEECH_FLOAT)) { - being->setSpeech(chatMsg, SPEECH_TIME); + being->setSpeech(chatMsg); } break; } @@ -315,7 +315,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) trim(chatMsg); if (player_node) - player_node->setSpeech(chatMsg, SPEECH_TIME); + player_node->setSpeech(chatMsg); } else if (localChatTab) { |