Change: Only resort industry directory window on production change if necessary

This commit is contained in:
Jonathan G Rennison
2020-01-06 20:31:57 +00:00
committed by Charles Pigott
parent 22ba048c89
commit f1734e7815
3 changed files with 25 additions and 9 deletions

View File

@@ -197,4 +197,12 @@ struct IndustryBuildData {
extern IndustryBuildData _industry_builder;
/** Special values for the industry list window for the data parameter of #InvalidateWindowData. */
enum IndustryDirectoryInvalidateWindowData {
IDIWD_FORCE_REBUILD,
IDIWD_PRODUCTION_CHANGE,
IDIWD_FORCE_RESORT,
};
#endif /* INDUSTRY_H */