summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-23 01:51:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-23 01:51:17 +0300
commitfe39570810969993f51a0ff6045d0a5d4397a5e5 (patch)
tree6d9641f625fdee333143934c0251cfa0dd870bd3 /src/net/tmwa
parentcff9e8d8f4bd6b678ad420c9e17eff729eecae4d (diff)
downloadplus-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/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp4
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)
{