diff --git a/components/files/fixedpath.hpp b/components/files/fixedpath.hpp index 3c1f6d801..3b04b1621 100644 --- a/components/files/fixedpath.hpp +++ b/components/files/fixedpath.hpp @@ -84,7 +84,6 @@ struct FixedPath mUserPath /= suffix; mGlobalPath /= suffix; mGlobalDataPath /= suffix; - mCachePath /= suffix; } } diff --git a/components/files/linuxpath.cpp b/components/files/linuxpath.cpp index 8009fd3e8..829e0f8f4 100644 --- a/components/files/linuxpath.cpp +++ b/components/files/linuxpath.cpp @@ -80,7 +80,7 @@ boost::filesystem::path LinuxPath::getCachePath() const { userPath = boost::filesystem::path(theDir); } - userPath /= "/.cache/"; + userPath /= "/.cache/openmw"; return userPath; } diff --git a/components/files/macospath.cpp b/components/files/macospath.cpp index bbd1dbcdd..3f4fdde25 100644 --- a/components/files/macospath.cpp +++ b/components/files/macospath.cpp @@ -84,7 +84,7 @@ boost::filesystem::path MacOsPath::getCachePath() const } if (theDir != NULL) { - userPath = boost::filesystem::path(theDir) / "Library/Caches/"; + userPath = boost::filesystem::path(theDir) / "Library/Caches/openmw"; } return userPath; diff --git a/components/files/windowspath.cpp b/components/files/windowspath.cpp index 744ad8ce8..19a0cc761 100644 --- a/components/files/windowspath.cpp +++ b/components/files/windowspath.cpp @@ -69,7 +69,7 @@ boost::filesystem::path WindowsPath::getGlobalDataPath() const boost::filesystem::path WindowsPath::getCachePath() const { - return getUserPath() / "/cache"; + return getUserPath() / "openmw/cache"; } boost::filesystem::path WindowsPath::getInstallPath() const