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/porting.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/porting.h') 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. -- cgit v1.2.3