Codechange: use setting name instead of index for HandleOldDiffCustom() (#9311)

This commit is contained in:
Patric Stout
2021-05-30 10:40:59 +02:00
committed by GitHub
parent bcd7a7aafe
commit e9e4588db1
4 changed files with 36 additions and 11 deletions

View File

@@ -61,6 +61,9 @@ enum IndustryDensity {
/** Settings related to the difficulty of the game */
struct DifficultySettings {
byte competitor_start_time; ///< Unused value, used to load old savegames.
byte competitor_intelligence; ///< Unused value, used to load old savegames.
byte max_no_competitors; ///< the number of competitors (AIs)
byte number_towns; ///< the amount of towns
byte industry_density; ///< The industry density. @see IndustryDensity