racing:: fixed mkdir on Windows

This commit is contained in:
Zeno Rogue
2019-09-12 22:38:38 +02:00
parent d9c412c540
commit 72417638d7
+4
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
}