Skip to content
Snippets Groups Projects
Commit 895b970a authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Move client textures to the correct place

parent 1f56d71f
No related branches found
No related tags found
No related merge requests found
File moved
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment