summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-24 04:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-24 04:08:24 +0300
commitf8cd17e234018066b03b995e92a09981d3d927f8 (patch)
treeff8154b61e36fad574b0de2e8b042336f3a17666 /src/being.cpp
parent8e5861c3cfd41574351547a1a518efcf9007666a (diff)
downloadmanaplus-f8cd17e234018066b03b995e92a09981d3d927f8.tar.gz
manaplus-f8cd17e234018066b03b995e92a09981d3d927f8.tar.bz2
manaplus-f8cd17e234018066b03b995e92a09981d3d927f8.tar.xz
manaplus-f8cd17e234018066b03b995e92a09981d3d927f8.zip
Remove some debug messages and old comments.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 3ed7ba587..736d64f1a 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -904,9 +904,6 @@ void Being::setGuild(Guild *guild)
if (old)
old->removeMember(mName);
-// if (guild)
-// guild->addMember(mId, mName);
-
updateColors();
if (this == player_node && socialWindow)
@@ -1041,7 +1038,6 @@ void Being::setAction(Action action, int attackType A_UNUSED)
if (currentAction != SpriteAction::INVALID)
{
- //set mNumber
play(currentAction);
mAction = action;
}
@@ -2141,7 +2137,6 @@ void Being::recalcSpritesOrder()
std::vector<int> slotRemap;
std::map<int, int> itemSlotRemap;
-// logger->log("preparation start");
std::vector<int>::iterator it;
int oldHide[20];
int dir = mSpriteDirection;
@@ -2495,7 +2490,6 @@ void Being::saveComment(const std::string &name,
return;
}
dir += stringToHexPath(name);
-// logger->log("save to: %s", dir.c_str());
ResourceManager *resman = ResourceManager::getInstance();
resman->saveTextFile(dir, "comment.txt", name + "\n" + comment);
}
@@ -2520,7 +2514,6 @@ void Being::setEmote(Uint8 emotion, int emote_time)
updateName();
addToCache();
}
-// logger->log("flags: %d", emotion - FLAG_SPECIAL);
}
else
{