FS#6363 - Inflation cutoff uses less-appropriate trigger criterion

Attached to Project: OpenTTD
Opened by Simon Smith (Simons_Mith) - Sunday, 16 August 2015, 02:49 GMT
Type Bug
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Start a game in 1900 with inflation on.
Wait till 1901.
Turn inflation off.
Wait till 2069.
Turn inflation on again.
In 2070, after 170 years, inflation turns off forever, even though it has only actually run for a couple of years out of the 170.

And even though the game config screen says inflation is still on, it is no longer active, which is a bit misleading.

OK, 170 years of /constant/ inflation probably is enough of a challenge. But a better criterion for whether it should be turned off is not [years since it was first activated] but [inflation multiplier >= some unplayable threshold] (which probably ought to be configurable).
Can that be fixed, please?
This task depends upon