diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-04-19 20:05:35 +0300 |
---|---|---|
committer | Bertram <yohanndotferreiraatorange.fr> | 2010-04-19 23:19:03 +0200 |
commit | 959708c60c119e03183ba97177f13e92d61e342c (patch) | |
tree | 86c8803ed1751dcf84a4feec9c05e47a695f78d8 /src/gui/chat.cpp | |
parent | d5390fa51b47cc70052902301ade7d137eff9d61 (diff) | |
download | mana-client-959708c60c119e03183ba97177f13e92d61e342c.tar.gz mana-client-959708c60c119e03183ba97177f13e92d61e342c.tar.bz2 mana-client-959708c60c119e03183ba97177f13e92d61e342c.tar.xz mana-client-959708c60c119e03183ba97177f13e92d61e342c.zip |
Add afk mode for player.
Add variable cur_time for current time.
Add command /away [text]
Reviewed by: Bertram
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 8965ec70..d53bcf0a 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -456,9 +456,14 @@ void ChatWindow::whisper(const std::string &nick, if (tab) { if (own) + { tab->chatInput(mes); + } else + { tab->chatLog(nick, mes); + player_node->afkRespond(tab, nick); + } } else { |