1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

savefile selection / an option to use no savefile

This commit is contained in:
Zeno Rogue
2022-09-15 12:38:39 +02:00
parent a20063c119
commit 308fcd90aa
10 changed files with 66 additions and 13 deletions

View File

@@ -174,7 +174,7 @@ EX void achievement_log(const char* s, char flags) {
#if CAP_SAVE
remove_emergency_save();
FILE *f = fopen(scorefile, "at");
FILE *f = fopen(scorefile.c_str(), "at");
if(!f) return;
int t = (int) (time(NULL) - timerstart);