-Fix bugs where resources from source directory weren't always found
[supertux.git] / lib / app / setup.cpp
index acb1749..7f3917b 100644 (file)
@@ -322,7 +322,7 @@ void Setup::directories()
         {
          std::string exedir = std::string(dirname(exe_file)) + "/";
          
-          datadir = exedir + "../data/"; // SuperTux run from source dir
+          datadir = exedir + "./data/"; // SuperTux run from source dir
           if (access(datadir.c_str(), F_OK) != 0)
             {
              datadir = exedir + "../../data/";  //SuperTux run from source dir (with libtool script)