(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
This commit is contained in:
@@ -841,7 +841,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num)
|
||||
i->random_colour = RemapTTOColour(i->random_colour);
|
||||
}
|
||||
|
||||
IncIndustryTypeCount(i->type);
|
||||
Industry::IncIndustryTypeCount(i->type);
|
||||
} else {
|
||||
delete i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user