UltraRogue: make scorefile location configurable.

This commit is contained in:
John "Elwin" Edwards 2017-02-15 20:38:12 -05:00
parent a8a6e1ce7a
commit d309fcdd46
3 changed files with 12 additions and 1 deletions

View file

@ -1436,7 +1436,8 @@ restore_file(FILE *savef)
// The file_name stored in the file no longer replaces its actual name.
ur_free(str);
str = ur_read_string(savef);
strcpy(score_file,str);
if (!use_savedir)
strcpy(score_file,str);
ur_free(str);
DUMPSTRING