diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-08-24 17:00:06 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-12-07 13:51:41 -0500 |
commit | ea2964f5a168cb52d1b9f74a08f00c7c068c6649 (patch) | |
tree | 77785296ca680eced53d3c3e976a5dc948d5df30 /src/clientmedia.cpp | |
parent | 51e8c2b27786c050f0271eeeaed5eea17d62f0a0 (diff) | |
download | minetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.tar.gz minetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.tar.bz2 minetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.zip |
Add seperate cache path
This is set to the XDG cache path where possible.
It's set to the app's cache path on Android.
Diffstat (limited to 'src/clientmedia.cpp')
-rw-r--r-- | src/clientmedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientmedia.cpp b/src/clientmedia.cpp index ea11ad239..bca3f67c2 100644 --- a/src/clientmedia.cpp +++ b/src/clientmedia.cpp @@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc., static std::string getMediaCacheDir() { - return porting::path_user + DIR_DELIM + "cache" + DIR_DELIM + "media"; + return porting::path_cache + DIR_DELIM + "media"; } /* |