mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 18:27:55 +00:00
racing:: fixed mkdir on Windows
This commit is contained in:
@@ -87,7 +87,11 @@ string ghost_filename(string seed, int mcode) {
|
|||||||
ghost_prefix = s + "/.hyperrogue/racing/";
|
ghost_prefix = s + "/.hyperrogue/racing/";
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
#if WINDOWS
|
||||||
|
mkdir("racing");
|
||||||
|
#else
|
||||||
mkdir("racing", 0755);
|
mkdir("racing", 0755);
|
||||||
|
#endif
|
||||||
ghost_prefix = "racing/";
|
ghost_prefix = "racing/";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user