(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too

This commit is contained in:
truelight
2004-12-30 10:03:35 +00:00
parent 32c3fbd18e
commit 546fcfa3ec
7 changed files with 25 additions and 19 deletions

View File

@@ -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;