1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove unused functions.

This commit is contained in:
onkrot 2015-08-16 00:25:27 +05:00 committed by Loic Blot
parent ee6cad1546
commit 5556ba168f
5 changed files with 0 additions and 44 deletions

View file

@ -233,16 +233,3 @@ std::string content_mapnode_get_new_name(const std::string &oldname)
{
return newnamegetter.get(oldname);
}
content_t legacy_get_id(const std::string &oldname, INodeDefManager *ndef)
{
std::string newname = content_mapnode_get_new_name(oldname);
if(newname == "")
return CONTENT_IGNORE;
content_t id;
bool found = ndef->getId(newname, id);
if(!found)
return CONTENT_IGNORE;
return id;
}