diff options
author | truelight <truelight@openttd.org> | 2004-12-30 10:03:35 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-30 10:03:35 +0000 |
commit | fe657e9ee35cacf37b4939e632bb033206cf2d04 (patch) | |
tree | a0f5b3a24386860688abd056c31bfa80700cf377 /industry_gui.c | |
parent | 78cbe3f412df67c239426fcf6314b7c39174205f (diff) | |
download | openttd-fe657e9ee35cacf37b4939e632bb033206cf2d04.tar.xz |
(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
Diffstat (limited to 'industry_gui.c')
-rw-r--r-- | industry_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_gui.c b/industry_gui.c index a3de1511a..76b92a7ed 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -458,7 +458,7 @@ static void MakeSortedIndustryList() Industry *i; int n = 0, index = 0; - for(i=_industries; i != endof(_industries); i++) { + FOR_ALL_INDUSTRIES(i) { if(i->xy) _industry_sort[n++] = index; |