Fix: Ensure saveload type match variable type.

This either changes the saveload definition or changes the variable depending on which makes more sense.
This commit is contained in:
Peter Nelson 2023-12-07 18:30:09 +00:00 committed by Peter Nelson
parent 54d45a6047
commit a05d6ee404
1 changed files with 2 additions and 2 deletions

View File

@ -64,14 +64,14 @@ enum IndustryDensity {
}; };
/** Possible values for "use_relay_service" setting. */ /** Possible values for "use_relay_service" setting. */
enum UseRelayService { enum UseRelayService : uint8_t {
URS_NEVER = 0, URS_NEVER = 0,
URS_ASK, URS_ASK,
URS_ALLOW, URS_ALLOW,
}; };
/** Possible values for "participate_survey" setting. */ /** Possible values for "participate_survey" setting. */
enum ParticipateSurvey { enum ParticipateSurvey : uint8_t {
PS_ASK = 0, PS_ASK = 0,
PS_NO, PS_NO,
PS_YES, PS_YES,