Cleanup: Don't use a magic number when closing processing industries (#10710)

This commit is contained in:
Tyler Trahan
2023-04-24 15:58:48 -04:00
committed by GitHub
parent 37392935dd
commit 6830e5f5f7
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,8 @@
typedef Pool<Industry, IndustryID, 64, 64000> IndustryPool;
extern IndustryPool _industry_pool;
static const Year PROCESSING_INDUSTRY_ABANDONMENT_YEARS = 5; ///< If a processing industry doesn't produce for this many consecutive years, it may close.
/**
* Production level maximum, minimum and default values.
* It is not a value been really used in order to change, but rather an indicator