summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-09 19:24:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-09 19:24:21 +0300
commit3f62c34d3e19c2da8885facfedea2ed613779c53 (patch)
treece84e6340f122986a1c39525a42bdead1c477b0f
parent01c43410488f80156f0d47bb3762a1fe2af38b3f (diff)
downloadplus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.gz
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.bz2
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.xz
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.zip
Remove some debug messages.
-rw-r--r--src/gui/helpwindow.cpp2
-rw-r--r--src/playerrelations.cpp8
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp
index 4c4770a43..e0e42c0bb 100644
--- a/src/gui/helpwindow.cpp
+++ b/src/gui/helpwindow.cpp
@@ -123,8 +123,6 @@ void HelpWindow::loadFile(const std::string &file)
if (lines.empty())
lines = resman->loadTextFile(helpPath + file + ".txt");
- logger->log("help file: " + helpPath + file + ".txt");
-
for (unsigned int i = 0; i < lines.size(); ++i)
mBrowserBox->addRow(lines[i]);
}
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index 9a2da1cad..4ac70b81f 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -240,8 +240,6 @@ unsigned int PlayerRelationsManager::checkPermissionSilently(
PlayerRelation *r = mRelations[player_name];
if (!r)
{
- logger->log("checkPermissionSilently1: "
- + toString(mDefaultPermissions & flags));
return mDefaultPermissions & flags;
}
else
@@ -249,9 +247,6 @@ unsigned int PlayerRelationsManager::checkPermissionSilently(
unsigned int permissions =
PlayerRelation::RELATION_PERMISSIONS[r->mRelation];
- logger->log("r->mRelation: "
- + toString(static_cast<signed>(r->mRelation)));
- logger->log("permissions: " + toString(permissions));
switch (r->mRelation)
{
case PlayerRelation::NEUTRAL:
@@ -269,8 +264,6 @@ unsigned int PlayerRelationsManager::checkPermissionSilently(
permissions &= mDefaultPermissions; // narrow
}
- logger->log("checkPermissionSilently2: "
- + toString(permissions & flags));
return permissions & flags;
}
}
@@ -468,7 +461,6 @@ public:
if (!being)
return;
- logger->log("ignoring: " + being->getName());
being->setEmote(mEmotion, IGNORE_EMOTE_TIME);
}
Uint8 mEmotion;