diff options
author | tron <tron@openttd.org> | 2006-08-15 07:07:17 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-08-15 07:07:17 +0000 |
commit | 5cf43b9f3c26ae5e44215cfa8142ed9e440dd3a0 (patch) | |
tree | 0aa4cb8becef58d3f427c3d8a47031b3ee8aad86 /industry.h | |
parent | 86934247cdbf369217ff78364b47ca7ab57ef4c0 (diff) | |
download | openttd-5cf43b9f3c26ae5e44215cfa8142ed9e440dd3a0.tar.xz |
(svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
Diffstat (limited to 'industry.h')
-rw-r--r-- | industry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry.h b/industry.h index bb7bb498b..0189a6d84 100644 --- a/industry.h +++ b/industry.h @@ -96,7 +96,7 @@ static inline uint16 GetIndustryPoolSize(void) VARDEF int _total_industries; // For the AI: the amount of industries active -VARDEF uint16 *_industry_sort; +VARDEF const Industry** _industry_sort; VARDEF bool _industry_sort_dirty; |