1
0
Fork 0
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:
Perttu Ahola 2011-11-15 08:48:24 +02:00
parent 40e7a1a5c9
commit e71744b918
111 changed files with 28 additions and 10 deletions

View file

@ -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);