diff options
-rw-r--r-- | src/gui/helpwindow.cpp | 2 | ||||
-rw-r--r-- | src/playerrelations.cpp | 8 |
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; |