mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Modify mod and texture directory hierarchies
This commit is contained in:
parent
40e7a1a5c9
commit
e71744b918
111 changed files with 28 additions and 10 deletions
|
@ -132,7 +132,7 @@ std::string getTexturePath(const std::string &filename)
|
|||
*/
|
||||
if(fullpath == "")
|
||||
{
|
||||
std::string rel_path = std::string("textures")+DIR_DELIM+filename;
|
||||
std::string rel_path = std::string("clienttextures")+DIR_DELIM+filename;
|
||||
std::string testpath = porting::path_data + DIR_DELIM + rel_path;
|
||||
// Check all filename extensions. Returns "" if not found.
|
||||
fullpath = getImagePath(testpath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue