diff --git a/share/client/textures/fontdejavusansmono.png b/share/textures/base/pack/fontdejavusansmono.png similarity index 100% rename from share/client/textures/fontdejavusansmono.png rename to share/textures/base/pack/fontdejavusansmono.png diff --git a/share/client/textures/fontlucida.png b/share/textures/base/pack/fontlucida.png similarity index 100% rename from share/client/textures/fontlucida.png rename to share/textures/base/pack/fontlucida.png diff --git a/share/client/textures/menubg.png b/share/textures/base/pack/menubg.png similarity index 100% rename from share/client/textures/menubg.png rename to share/textures/base/pack/menubg.png diff --git a/share/client/textures/menulogo.png b/share/textures/base/pack/menulogo.png similarity index 100% rename from share/client/textures/menulogo.png rename to share/textures/base/pack/menulogo.png diff --git a/share/client/textures/smoke_puff.png b/share/textures/base/pack/smoke_puff.png similarity index 100% rename from share/client/textures/smoke_puff.png rename to share/textures/base/pack/smoke_puff.png diff --git a/share/client/textures/sunrisebg.png b/share/textures/base/pack/sunrisebg.png similarity index 100% rename from share/client/textures/sunrisebg.png rename to share/textures/base/pack/sunrisebg.png diff --git a/share/client/textures/unknown_block.png b/share/textures/base/pack/unknown_block.png similarity index 100% rename from share/client/textures/unknown_block.png rename to share/textures/base/pack/unknown_block.png diff --git a/share/client/textures/unknown_item.png b/share/textures/base/pack/unknown_item.png similarity index 100% rename from share/client/textures/unknown_item.png rename to share/textures/base/pack/unknown_item.png diff --git a/share/client/textures/unknown_object.png b/share/textures/base/pack/unknown_object.png similarity index 100% rename from share/client/textures/unknown_object.png rename to share/textures/base/pack/unknown_object.png 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); }