summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
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 /src/playerrelations.cpp
parent01c43410488f80156f0d47bb3762a1fe2af38b3f (diff)
downloadplus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.gz
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.bz2
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.tar.xz
plus-3f62c34d3e19c2da8885facfedea2ed613779c53.zip
Remove some debug messages.
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp8
1 files changed, 0 insertions, 8 deletions
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;