mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
racing:: fixed mkdir on Windows
This commit is contained in:
parent
d9c412c540
commit
72417638d7
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user