mirror of https://github.com/OpenTTD/OpenTTD.git
Add: [NewGRF] Patch flag to test if inflation is on or off.
This commit is contained in:
parent
5a5d613ee3
commit
1478fa93b3
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue