diff --git a/src/client/minimap.cpp b/src/client/minimap.cpp index 90c0bc55..b6c265ca 100644 --- a/src/client/minimap.cpp +++ b/src/client/minimap.cpp @@ -37,6 +37,8 @@ #include +#include + Minimap g_minimap; void MinimapBlock::clean() @@ -383,6 +385,7 @@ void Minimap::saveOtmm(const std::string& fileName) #ifndef ANDROID std::string tmpFileName = fileName; + tmpFileName += "." + std::to_string(getpid()); tmpFileName += ".tmp"; FileStreamPtr fin = g_resources.createFile(tmpFileName); #else