(svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
This commit is contained in:
@@ -1375,7 +1375,7 @@ void DeleteTown(Town *t)
|
||||
_town_sort_dirty = true;
|
||||
|
||||
// Delete all industries belonging to the town
|
||||
for(i=_industries; i != endof(_industries); i++) {
|
||||
FOR_ALL_INDUSTRIES(i) {
|
||||
if (i->xy && i->town == t)
|
||||
DeleteIndustry(i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user