summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2018-08-13 23:44:49 +0200
committerMichael Lutz <michi@icosahedron.de>2018-09-02 21:31:15 +0200
commit4b0b4e06435b76e1cb40a8a65ccdc2307d48081d (patch)
tree47e3af88ac059780ed6604d0684f242c33a181d5 /src/newgrf.cpp
parent6391d4927744407d6ea8b7336dad34565bc986d0 (diff)
downloadopenttd-4b0b4e06435b76e1cb40a8a65ccdc2307d48081d.tar.xz
Feature: [NewGRF] Increase size of persistent storage to 256.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 216bdc190..16a6c231f 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -7898,6 +7898,8 @@ static void InitializeGRFSpecial()
| ((_settings_game.vehicle.dynamic_engines ? 1 : 0) << 0x18) // dynamic engines
| (1 << 0x1E) // variablerunningcosts
| (1 << 0x1F); // any switch is on
+
+ _ttdpatch_flags[4] = (1 << 0x00); // larger persistent storage
}
/** Reset and clear all NewGRF stations */