aboutsummaryrefslogtreecommitdiff
path: root/src/mineral.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-21 11:07:03 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-21 11:07:03 +0300
commit969fbb189d16d87d26ceab29795644588fb90a32 (patch)
treea67a53a3ec9bd1afffda372587a9205d3ba8ef96 /src/mineral.cpp
parenta8acf3c391b4dbdc4f4fd12b7a491a1c38dab337 (diff)
downloadminetest-969fbb189d16d87d26ceab29795644588fb90a32.tar.gz
minetest-969fbb189d16d87d26ceab29795644588fb90a32.tar.bz2
minetest-969fbb189d16d87d26ceab29795644588fb90a32.zip
All textures are are now searched first from the directory specified by the texture_path setting.
Diffstat (limited to 'src/mineral.cpp')
-rw-r--r--src/mineral.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mineral.cpp b/src/mineral.cpp
index e61c25c1e..038251fa3 100644
--- a/src/mineral.cpp
+++ b/src/mineral.cpp
@@ -27,7 +27,6 @@ const char *mineral_filenames[MINERAL_COUNT] =
"mineral_iron.png"
};
-//textureid_t mineral_textures[MINERAL_COUNT] = {0};
std::string mineral_textures[MINERAL_COUNT];
void init_mineral()
@@ -40,7 +39,6 @@ void init_mineral()
}
}
-//textureid_t mineral_block_texture(u8 mineral)
std::string mineral_block_texture(u8 mineral)
{
if(mineral >= MINERAL_COUNT)