diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-19 21:34:21 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-19 21:34:21 +0200 |
commit | 895b970a10f5b37a5dec6f668e745c1531fb6ebf (patch) | |
tree | fdf4349c58b8830bbcec5bdc4bd92d0c272475b4 /src | |
parent | 1f56d71f190c67325bdc413dfbc6c8e4b8284d98 (diff) | |
download | minetest-895b970a10f5b37a5dec6f668e745c1531fb6ebf.tar.gz minetest-895b970a10f5b37a5dec6f668e745c1531fb6ebf.tar.bz2 minetest-895b970a10f5b37a5dec6f668e745c1531fb6ebf.zip |
Move client textures to the correct place
Diffstat (limited to 'src')
-rw-r--r-- | src/tile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tile.cpp b/src/tile.cpp index fc371c941..4af7a3272 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -132,9 +132,9 @@ std::string getTexturePath(const std::string &filename) */ if(fullpath == "") { - std::string rel_path = std::string("client") - + DIR_DELIM + "textures" + DIR_DELIM + filename; - std::string testpath = porting::path_share + DIR_DELIM + rel_path; + std::string base_path = porting::path_share + DIR_DELIM + "textures" + + DIR_DELIM + "base" + DIR_DELIM + "pack"; + std::string testpath = base_path + DIR_DELIM + filename; // Check all filename extensions. Returns "" if not found. fullpath = getImagePath(testpath); } |