From 662bee5b12192167a58423f9d8f5e2ce800f17e2 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 18 May 2007 17:55:07 +0000 Subject: (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct --- src/industry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry.h') diff --git a/src/industry.h b/src/industry.h index 677d622e7..9f0ad8083 100644 --- a/src/industry.h +++ b/src/industry.h @@ -77,7 +77,7 @@ struct Industry { uint16 total_transported[2]; ///< total units transported per cargo uint16 counter; ///< used for animation and/or production (if available cargo) - byte type; ///< type of industry. see IT_COAL_MINE and others + IndustryType type; ///< type of industry. see IT_COAL_MINE and others OwnerByte owner; ///< owner of the industry. Which SHOULD always be (imho) OWNER_NONE byte random_color; ///< randomized colour of the industry, for display purpose Year last_prod_year; ///< last year of production -- cgit v1.2.3-54-g00ecf