mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
@@ -21,7 +21,6 @@
|
||||
#include "../drawing/X8DrawingEngine.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../platform/Platform2.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/Map.h"
|
||||
@@ -146,7 +145,7 @@ static std::optional<std::string> screenshot_get_next_path()
|
||||
for (int tries = 0; tries < 100; tries++)
|
||||
{
|
||||
auto path = pathComposer(tries);
|
||||
if (!platform_file_exists(path.c_str()))
|
||||
if (!Platform::FileExists(path))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user