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 | |
parent | cff9e8d8f4bd6b678ad420c9e17eff729eecae4d (diff) | |
download | plus-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.gz plus-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.bz2 plus-fe39570810969993f51a0ff6045d0a5d4397a5e5.tar.xz plus-fe39570810969993f51a0ff6045d0a5d4397a5e5.zip |
Show speach messages variable time, depend on message size.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/manaserv/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/manaserv/chathandler.cpp b/src/net/manaserv/chathandler.cpp index bdb903fe1..9fc85be2d 100644 --- a/src/net/manaserv/chathandler.cpp +++ b/src/net/manaserv/chathandler.cpp @@ -164,7 +164,7 @@ void ChatHandler::handleGameChatMessage(Net::MessageIn &msg) if (being) { mes = being->getName() + " : " + chatMsg; - being->setSpeech(chatMsg, SPEECH_TIME); + being->setSpeech(chatMsg); } else mes = "Unknown : " + chatMsg; 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) { |