From 683da50e37fbbb2e3f70a4421a06dabd9bb912d8 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 1 Jan 2012 20:20:21 +0100 Subject: player_node -> local_player Reviewed-by: Ablu --- src/gui/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/chat.cpp') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 0e75bda3..92386e76 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -472,7 +472,7 @@ void ChatWindow::whisper(const std::string &nick, if (mes.empty()) return; - std::string playerName = player_node->getName(); + std::string playerName = local_player->getName(); std::string tempNick = nick; toLower(playerName); @@ -502,7 +502,7 @@ void ChatWindow::whisper(const std::string &nick, else { tab->chatLog(nick, mes); - player_node->afkRespond(tab, nick); + local_player->afkRespond(tab, nick); } } else @@ -523,7 +523,7 @@ void ChatWindow::whisper(const std::string &nick, ChatTab *ChatWindow::addWhisperTab(const std::string &nick, bool switchTo) { - std::string playerName = player_node->getName(); + std::string playerName = local_player->getName(); std::string tempNick = nick; toLower(playerName); -- cgit v1.2.3-70-g09d2