mirror of https://github.com/OpenTTD/OpenTTD.git
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:
parent
54d45a6047
commit
a05d6ee404
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue