(svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct

This commit is contained in:
belugas
2007-05-18 17:55:07 +00:00
parent c8d05162c2
commit 662bee5b12
3 changed files with 6 additions and 5 deletions

View File

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