topten: UPDATE_RECORD_IN_PLACE

'final_fpos' shouldn't have been moved to the 'g' struct.  Even if
a game went all the way through topten and was restarted as a new
game that also went all the way through topten, 'final_fpos' would
get a new value rather than being messed up by a stale old one.
This commit is contained in:
PatR
2021-04-16 23:01:04 -07:00
parent 563ed2f7db
commit 7880be807a
3 changed files with 18 additions and 19 deletions

View File

@@ -1153,10 +1153,6 @@ struct instance_globals {
/* topten.c */
winid toptenwin;
#ifdef UPDATE_RECORD_IN_PLACE
long final_fpos;
#endif
/* trap.c */
int force_mintrap; /* mintrap() should take a flags argument, but for time