From 7effb8fd5046ad0cf2effb8dc55661b316bf48d0 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 27 Oct 2006 15:54:24 +0000 Subject: (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec. Removed a loop that used the array _build_industry_types for that purpose. --- industry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'industry.h') diff --git a/industry.h b/industry.h index b53486fdc..0924acf8b 100644 --- a/industry.h +++ b/industry.h @@ -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; -- cgit v1.2.3-70-g09d2