summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-10 23:30:12 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:11:04 +0200
commitee8b6d34447acab3ffb318dc8c070df890c1b810 (patch)
tree1b7bb1741effe3b7c9dee6582a60a380edb24e55 /src/porting.h
parent2115a766f6ef7eefc122d1c91a28fe94f664a11a (diff)
downloadminetest-ee8b6d34447acab3ffb318dc8c070df890c1b810.tar.gz
minetest-ee8b6d34447acab3ffb318dc8c070df890c1b810.tar.bz2
minetest-ee8b6d34447acab3ffb318dc8c070df890c1b810.zip
Move images to data/textures and fix some path stuff; hope that installation still works
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/porting.h b/src/porting.h
index 3f9486b63..4970a8478 100644
--- a/src/porting.h
+++ b/src/porting.h
@@ -73,10 +73,7 @@ extern std::string path_userdata;
Get full path of stuff in data directory.
Example: "stone.png" -> "../data/stone.png"
*/
-inline std::string getDataPath(const char *subpath)
-{
- return path_data + "/" + subpath;
-}
+std::string getDataPath(const char *subpath);
/*
Initialize path_data and path_userdata.