diff options
author | belugas <belugas@openttd.org> | 2007-05-18 17:55:07 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-18 17:55:07 +0000 |
commit | 662bee5b12192167a58423f9d8f5e2ce800f17e2 (patch) | |
tree | 4b779bb86f97ebb5f7398c295675a5e7140c1d29 /src/industry.h | |
parent | c8d05162c296a6fdec7a02163b21e2fce2da7272 (diff) | |
download | openttd-662bee5b12192167a58423f9d8f5e2ce800f17e2.tar.xz |
(svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |