summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 22:31:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 22:31:47 +0300
commit7da1fab7ee72517bf2359a184d544734e92be6a9 (patch)
tree02b48427edcbdf55924d65d4dfe91beaff8c2b0c /src/actormanager.cpp
parent7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (diff)
downloadplus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.gz
plus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.bz2
plus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.xz
plus-7da1fab7ee72517bf2359a184d544734e92be6a9.zip
From ChatTab::chatLog removed default parameter for message owner type.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 90c2877f4..fb1217e87 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1364,8 +1364,9 @@ void ActorManager::printBeingsToChat(const ActorSprites &beings,
if (!debugChatTab)
return;
- debugChatTab->chatLog("---------------------------------------");
- debugChatTab->chatLog(header);
+ debugChatTab->chatLog("---------------------------------------",
+ ChatMsgType::BY_SERVER);
+ debugChatTab->chatLog(header, ChatMsgType::BY_SERVER);
FOR_EACH (std::set<ActorSprite*>::const_iterator, it, beings)
{
if (!*it)
@@ -1380,7 +1381,8 @@ void ActorManager::printBeingsToChat(const ActorSprites &beings,
being->getName().c_str(), being->getTileX(), being->getTileY(),
being->getSubType()), ChatMsgType::BY_SERVER);
}
- debugChatTab->chatLog("---------------------------------------");
+ debugChatTab->chatLog("---------------------------------------",
+ ChatMsgType::BY_SERVER);
}
void ActorManager::printBeingsToChat(const std::vector<Being*> &beings,
@@ -1389,8 +1391,9 @@ void ActorManager::printBeingsToChat(const std::vector<Being*> &beings,
if (!debugChatTab)
return;
- debugChatTab->chatLog("---------------------------------------");
- debugChatTab->chatLog(header);
+ debugChatTab->chatLog("---------------------------------------",
+ ChatMsgType::BY_SERVER);
+ debugChatTab->chatLog(header, ChatMsgType::BY_SERVER);
FOR_EACH (std::vector<Being*>::const_iterator, i, beings)
{
@@ -1403,7 +1406,8 @@ void ActorManager::printBeingsToChat(const std::vector<Being*> &beings,
being->getName().c_str(), being->getTileX(), being->getTileY(),
being->getSubType()), ChatMsgType::BY_SERVER);
}
- debugChatTab->chatLog("---------------------------------------");
+ debugChatTab->chatLog("---------------------------------------",
+ ChatMsgType::BY_SERVER);
}
void ActorManager::getPlayerNames(StringVect &names,