Mercurial > hg > early-roguelike
comparison urogue/state.c @ 263:08057be02f47
UltraRogue: make scorefile location configurable.
| author | John "Elwin" Edwards |
|---|---|
| date | Wed, 15 Feb 2017 20:38:12 -0500 |
| parents | c7c6c5a7d840 |
| children | ebf49a933e51 |
comparison
equal
deleted
inserted
replaced
| 262:c7c6c5a7d840 | 263:08057be02f47 |
|---|---|
| 1434 ur_free(str); | 1434 ur_free(str); |
| 1435 str = ur_read_string(savef); | 1435 str = ur_read_string(savef); |
| 1436 // The file_name stored in the file no longer replaces its actual name. | 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 if (!use_savedir) |
| 1440 strcpy(score_file,str); | |
| 1440 ur_free(str); | 1441 ur_free(str); |
| 1441 | 1442 |
| 1442 DUMPSTRING | 1443 DUMPSTRING |
| 1443 return(TRUE); | 1444 return(TRUE); |
| 1444 } | 1445 } |
