]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/filesys.cpp
refacto: RenderingEngine::get_scene_manager() is now not callable from singleton
[dragonfireclient.git] / src / filesys.cpp
index eeba0c564b7c72044ba33d80bbe35c20a0f62e49..5ffb4506ea3c8bb50dc774b3e9db1e930f1748ae 100644 (file)
@@ -27,9 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "log.h"
 #include "config.h"
 #include "porting.h"
-#ifdef __ANDROID__
-#include "settings.h" // For g_settings
-#endif
 
 namespace fs
 {
@@ -359,8 +356,9 @@ std::string TempPath()
                compatible with lua's os.tmpname which under the default
                configuration hardcodes mkstemp("/tmp/lua_XXXXXX").
        */
+
 #ifdef __ANDROID__
-       return g_settings->get("TMPFolder");
+       return porting::path_cache;
 #else
        return DIR_DELIM "tmp";
 #endif