1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

racing:: fixed mkdir on Windows

This commit is contained in:
Zeno Rogue 2019-01-02 16:21:55 +01:00
parent d9c412c540
commit 72417638d7

View File

@ -87,7 +87,11 @@ string ghost_filename(string seed, int mcode) {
ghost_prefix = s + "/.hyperrogue/racing/";
}
#else
#if WINDOWS
mkdir("racing");
#else
mkdir("racing", 0755);
#endif
ghost_prefix = "racing/";
#endif
}