Advanced Rogue family: fix the "score" option.
Changing the score file (when permitted) now works again, closing the old score file and opening the new one.
This commit is contained in:
parent
ea4244de91
commit
e3620a3781
14 changed files with 105 additions and 14 deletions
|
|
@ -1227,6 +1227,7 @@ extern int pray_time; /* Number of prayer points/exp level */
|
|||
extern int spell_power; /* Spell power left at this level */
|
||||
extern int turns; /* Number of turns player has taken */
|
||||
extern int quest_item; /* Item hero is looking for */
|
||||
extern int scorefd; /* File descriptor for score file */
|
||||
extern int cur_relic[]; /* Current relics */
|
||||
extern char take; /* Thing the rogue is taking */
|
||||
extern char prbuf[]; /* Buffer for sprintfs */
|
||||
|
|
@ -1286,6 +1287,7 @@ extern char *nothing; /* "nothing happens" msg */
|
|||
extern char *spacemsg;
|
||||
extern char *morestr;
|
||||
extern char *retstr;
|
||||
extern FILE *logfile;
|
||||
extern LEVTYPE levtype;
|
||||
extern void (*add_abil[NUMABILITIES])(); /* Functions to change abilities */
|
||||
extern void (*res_abil[NUMABILITIES])(); /* Functions to change abilities */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue