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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user