From ea0b61e18f36f28806940b00a2cddaef912c3340 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 May 2014 01:04:05 +0300 Subject: Move actor type into separate file. --- src/net/ea/chathandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea/chathandler.cpp') diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index 4ae292860..cc43de8cd 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -294,7 +294,7 @@ void ChatHandler::processBeingChat(Net::MessageIn &msg, std::string chatMsg = msg.readRawString(chatMsgLength); - if (being->getType() == Being::PLAYER) + if (being->getType() == ActorType::PLAYER) being->setTalkTime(); const size_t pos = chatMsg.find(" : ", 0); @@ -309,7 +309,7 @@ void ChatHandler::processBeingChat(Net::MessageIn &msg, sender_name = "?"; } else if (sender_name != being->getName() - && being->getType() == Being::PLAYER) + && being->getType() == ActorType::PLAYER) { if (!being->getName().empty()) sender_name = being->getName(); -- cgit v1.2.3-60-g2f50