make program_state initialization a discrete step

Having it rolled into decl_globals_init() was
causing some early options to misbehave because
those early options were trying to use program_state
fields to determine their behavior, but decl_globals_init()
was resetting the program_state fields that were being used
to do that.
This commit is contained in:
nhmall
2026-04-22 11:15:19 -04:00
parent 0a51a9656e
commit 965e1bf99d
3 changed files with 8 additions and 1 deletions

View File

@@ -510,6 +510,7 @@ extern void destroy_drawbridge(coordxy, coordxy);
/* ### decl.c ### */
extern void program_state_init(void);
extern void decl_globals_init(void);
extern void sa_victual(volatile struct victual_info *);