Add: [NewGRF] Patch flag to test if inflation is on or off.

This commit is contained in:
Michael Lutz 2020-12-25 12:36:13 +01:00 committed by Charles Pigott
parent 5a5d613ee3
commit 1478fa93b3
1 changed files with 2 additions and 1 deletions

View File

@ -8389,7 +8389,8 @@ static void InitializeGRFSpecial()
| (1 << 0x1E) // variablerunningcosts
| (1 << 0x1F); // any switch is on
_ttdpatch_flags[4] = (1 << 0x00); // larger persistent storage
_ttdpatch_flags[4] = (1 << 0x00) // larger persistent storage
| ((_settings_game.economy.inflation ? 1 : 0) << 0x01); // inflation is on
}
/** Reset and clear all NewGRF stations */