(svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
This commit is contained in:
@@ -68,7 +68,9 @@ typedef struct IndustrySpec {
|
||||
byte minimal_cargo;
|
||||
CargoID accepts_cargo[3];
|
||||
|
||||
IndustryLifeType life_type; // This is also known as Industry production flag, in newgrf specs
|
||||
IndustryLifeType life_type; v This is also known as Industry production flag, in newgrf specs
|
||||
|
||||
byte climate_availability; ///< Bitmask, giving landscape enums as bit position
|
||||
|
||||
StringID name;
|
||||
StringID closure_text;
|
||||
|
||||
Reference in New Issue
Block a user