diff options
author | onkrot <vob999@bk.ru> | 2015-08-16 00:25:27 +0500 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-08-16 14:29:33 +0200 |
commit | 5556ba168fb8bb3c234311564de36c4b130c8ab1 (patch) | |
tree | 5d1b47d9d5305de738779cd33d01c9737b5c28c2 /src/content_mapnode.cpp | |
parent | ee6cad154699959193d9a0395eb1d144a495c377 (diff) | |
download | minetest-5556ba168fb8bb3c234311564de36c4b130c8ab1.tar.gz minetest-5556ba168fb8bb3c234311564de36c4b130c8ab1.tar.bz2 minetest-5556ba168fb8bb3c234311564de36c4b130c8ab1.zip |
Remove unused functions.
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r-- | src/content_mapnode.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 5e2a5c816..3a4a4652a 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -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; -} - |