From 895b970a10f5b37a5dec6f668e745c1531fb6ebf Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 19 Mar 2012 21:34:21 +0200 Subject: Move client textures to the correct place --- src/tile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tile.cpp') 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); } -- cgit v1.2.3