Made stk-assets the default name of the assets data directory.

This commit is contained in:
Joerg Henrichs
2014-01-15 11:56:34 +11:00
parent 981036656d
commit c622ba258c

View File

@@ -178,8 +178,8 @@ FileManager::FileManager()
}
addRootDirs(root_dir);
if( fileExists(root_dir+"../../data_supertuxkart"))
addRootDirs(root_dir+"../../data_supertuxkart");
if( fileExists(root_dir+"../../stk-assets"))
addRootDirs(root_dir+"../../stk-assets");
if ( getenv ( "SUPERTUXKART_ROOT_PATH" ) != NULL )
addRootDirs(getenv("SUPERTUXKART_ROOT_PATH"));