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 | 4ad8d1c7a268b09d5f1313d597567f49c4eac38e (patch) | |
tree | 0aa4cb8becef58d3f427c3d8a47031b3ee8aad86 /industry.h | |
parent | d84a1dcf501227ec59a143e9d4b3d605aa8a3fcc (diff) | |
download | openttd-4ad8d1c7a268b09d5f1313d597567f49c4eac38e.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; |