Industry directory window: Only resort on production change if necessary

This commit is contained in:
Jonathan G Rennison
2020-01-06 20:31:57 +00:00
parent b868ce8605
commit 964739f235
3 changed files with 25 additions and 9 deletions

View File

@@ -209,4 +209,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 */