summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
commit27c3646d10e0c5d25905d7afc7a43289159f711b (patch)
tree90257515af3615f169252161fc62b8d571076936 /src/net/tmwa/chathandler.cpp
parent5e14ab971129eb95ca02e373fc21adb46c0eaca1 (diff)
downloadmanaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.gz
manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.bz2
manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.xz
manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.zip
Fix some issues after automatic checking.
Change compilation flags in make scripts.
Diffstat (limited to 'src/net/tmwa/chathandler.cpp')
-rw-r--r--src/net/tmwa/chathandler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index c9862cd53..3ce30ce84 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -244,7 +244,6 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
if (!being || chatMsgLength <= 0)
break;
- std::string str2;
chatMsg = msg.readRawString(chatMsgLength);
if (being->getType() == Being::PLAYER)
@@ -293,7 +292,6 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
if (chatMsgLength <= 0)
break;
- std::string str2;
chatMsg = msg.readRawString(chatMsgLength);
std::string::size_type pos = chatMsg.find(" : ", 0);
@@ -301,8 +299,6 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
{
if (chatWindow)
chatWindow->resortChatLog(chatMsg, BY_PLAYER);
-// if (localChatTab)
-// localChatTab->chatLog(chatMsg, BY_PLAYER);
const std::string senseStr = "You sense the following: ";
if (actorSpriteManager && !chatMsg.find(senseStr))