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 | 49570edfe97df43654759e9d9e492137c0fe4c2a (patch) | |
tree | 4b779bb86f97ebb5f7398c295675a5e7140c1d29 /src/industry.h | |
parent | ba24c34f8558369cc0802c92963b40ff5c7b0bc2 (diff) | |
download | openttd-49570edfe97df43654759e9d9e492137c0fe4c2a.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 |