changeset 260:b80e1bf4eaec

UltraRogue: don't overwrite the savefile name when restoring.
author John "Elwin" Edwards
date Thu, 09 Feb 2017 20:13:25 -0500
parents 096d3cfd9afd
children ac42afd962e4
files urogue/state.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/urogue/state.c	Thu Feb 09 16:29:45 2017 -0500
+++ b/urogue/state.c	Thu Feb 09 20:13:25 2017 -0500
@@ -1433,7 +1433,7 @@
     strcpy(fruit,str);
     ur_free(str);
     str = ur_read_string(savef);
-    strcpy(file_name,str);
+    // 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);