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

@@ -650,9 +650,6 @@ const struct instance_globals g_init = {
/* topten.c */
WIN_ERR, /* topten */
#ifdef UPDATE_RECORD_IN_PLACE
UNDEFINED_VALUE, /* final_fpos */
#endif
/* trap.c */
0, /* force_mintrap */