summaryrefslogtreecommitdiff
path: root/src/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp6
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);
}