(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:
belugas
2006-10-27 15:54:24 +00:00
parent 250b9b0436
commit 2cdb58d906
3 changed files with 48 additions and 56 deletions

View File

@@ -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;