Industry directory window: Only resort on production change if necessary
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user