]> git.lizzy.rs Git - minetest.git/blobdiff - src/clientmedia.cpp
Remove ClientMap::m_camera_mutex
[minetest.git] / src / clientmedia.cpp
index 0918e8a3797002d2d262445d7dfe3ffec32b7ce4..bca3f67c28fd721c80fead554074f9c41ac1680d 100644 (file)
@@ -26,7 +26,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "log.h"
 #include "porting.h"
 #include "settings.h"
-#include "main.h"
 #include "network/networkprotocol.h"
 #include "util/hex.h"
 #include "util/serialize.h"
@@ -35,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";
 }
 
 /*