remove an unused function

This commit is contained in:
darkrose 2015-06-23 01:47:06 +10:00
parent 80d83bddbd
commit 29c94b8230
2 changed files with 1 additions and 16 deletions

View File

@ -400,20 +400,6 @@ void Player::getSkin(std::vector<std::string> &parts)
parts.push_back(std::string("skins")+DIR_DELIM+"eyes_"+eyes+".png");
parts.push_back(std::string("skins")+DIR_DELIM+"hair_"+hair+"_"+hairtone+"_"+gender+".png");
}
std::string Player::getSkin()
{
std::vector<std::string> parts;
getSkin(parts);
std::string tex = "";
for (std::vector<std::string>::iterator i = parts.begin(); i != parts.end(); i++) {
tex += "^";
tex += *i;
}
return tex;
}
/*
ServerRemotePlayer

View File

@ -269,9 +269,8 @@ public:
v3f getScale();
// the unclothed player skin
// the unclothed player skin parts
void getSkin(std::vector<std::string> &parts);
std::string getSkin();
protected:
char m_name[PLAYERNAME_SIZE];