forked from oerkki/voxelands
remove an unused function
This commit is contained in:
parent
80d83bddbd
commit
29c94b8230
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue