From ee8b6d34447acab3ffb318dc8c070df890c1b810 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 10 Nov 2011 23:30:12 +0200 Subject: Move images to data/textures and fix some path stuff; hope that installation still works --- src/tile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tile.cpp') diff --git a/src/tile.cpp b/src/tile.cpp index 366f2dfb7..f328ab766 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -130,7 +130,8 @@ std::string getTexturePath(const std::string &filename) */ if(fullpath == "") { - std::string testpath = porting::getDataPath(filename.c_str()); + std::string rel_path = std::string("textures")+DIR_DELIM+filename; + std::string testpath = porting::path_data + DIR_DELIM + rel_path; // Check all filename extensions. Returns "" if not found. fullpath = getImagePath(testpath); } -- cgit v1.2.3