fix file lookup
[supertux.git] / src / resources.cpp
index 4119b7a..95bf48d 100644 (file)
@@ -199,7 +199,7 @@ void unload_shared()
 
 std::string get_resource_filename(const std::string& resource)
 {
-  std::string filepath = user_dir + resource;
+  std::string filepath = user_dir + "/" + resource;
   if(FileSystem::faccessible(filepath))
     return filepath;