comparison urogue/state.c @ 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 c7c6c5a7d840
comparison
equal deleted inserted replaced
259:096d3cfd9afd 260:b80e1bf4eaec
1431 ur_free(str); 1431 ur_free(str);
1432 str = ur_read_string(savef); 1432 str = ur_read_string(savef);
1433 strcpy(fruit,str); 1433 strcpy(fruit,str);
1434 ur_free(str); 1434 ur_free(str);
1435 str = ur_read_string(savef); 1435 str = ur_read_string(savef);
1436 strcpy(file_name,str); 1436 // The file_name stored in the file no longer replaces its actual name.
1437 ur_free(str); 1437 ur_free(str);
1438 str = ur_read_string(savef); 1438 str = ur_read_string(savef);
1439 strcpy(score_file,str); 1439 strcpy(score_file,str);
1440 ur_free(str); 1440 ur_free(str);
1441 1441