Add setting to disable NewGRF inflation flag

This commit is contained in:
Jonathan G Rennison
2022-12-28 01:58:03 +00:00
parent 64c210f770
commit b9dad1818b
3 changed files with 8 additions and 1 deletions

View File

@@ -9995,7 +9995,7 @@ static void InitializeGRFSpecial()
| (1U << 0x1F); // any switch is on
_ttdpatch_flags[4] = (1U << 0x00) // larger persistent storage
| ((_settings_game.economy.inflation ? 1U : 0U) << 0x01); // inflation is on
| ((_settings_game.economy.inflation && !_settings_game.economy.disable_inflation_newgrf_flag ? 1U : 0U) << 0x01); // inflation is on
MemSetT(_observed_ttdpatch_flags, 0, lengthof(_observed_ttdpatch_flags));
}