Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add: [NewGRF] Patch flag to test if inflation is on or off.
  • Loading branch information
michicc authored and LordAro committed Dec 27, 2020
1 parent 5a5d613 commit 1478fa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/newgrf.cpp
Expand Up @@ -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 */
Expand Down

0 comments on commit 1478fa9

Please sign in to comment.