From 3f62c34d3e19c2da8885facfedea2ed613779c53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jun 2011 19:24:21 +0300 Subject: Remove some debug messages. --- src/gui/helpwindow.cpp | 2 -- src/playerrelations.cpp | 8 -------- 2 files changed, 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(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; -- cgit v1.2.3-70-g09d2