mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Move client textures to the correct place
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user