From fe39570810969993f51a0ff6045d0a5d4397a5e5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 May 2011 01:51:17 +0300 Subject: Show speach messages variable time, depend on message size. --- src/net/manaserv/chathandler.cpp | 2 +- src/net/tmwa/chathandler.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net') 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) { -- cgit v1.2.3-70-g09d2