// try current directory as datadir
if(datadir.empty()) {
- if(FileSystem::faccessible("./basest/credits.txt")) {
- datadir = "./basest/";
+ if(FileSystem::faccessible("./data/credits.txt")) {
+ datadir = "./data/";
}
}
#endif
} else {
std::string exedir = std::string(dirname(exe_file)) + "/";
- std::string testdir = exedir + "./basest/";
+ std::string testdir = exedir + "./data/";
if(access(testdir.c_str(), F_OK) == 0) {
datadir = testdir;
}