diff options
author | peter1138 <peter1138@openttd.org> | 2005-09-24 13:56:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-09-24 13:56:39 +0000 |
commit | 5dcb1e34fd90dc9a39e638db61165c7163a41db2 (patch) | |
tree | 9c3c0f779426eef44c578e5eff9fd77c8efb5830 /newgrf.c | |
parent | 73d3667dc3aadfaa9061b47b46e653ee3fab13d6 (diff) | |
download | openttd-5dcb1e34fd90dc9a39e638db61165c7163a41db2.tar.xz |
(svn r2982) Newgrf: Added patch option for wagon speed limits. This is enabled by default.
Diffstat (limited to 'newgrf.c')
-rw-r--r-- | newgrf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2187,7 +2187,8 @@ static void InitializeGRFSpecial(void) _ttdpatch_flags[2] = (1 << 0x0D) /* buildonslopes */ | (1 << 0x16) /* canals */ - | (1 << 0x17); /* newstartyear */ + | (1 << 0x17) /* newstartyear */ + | (_patches.wagon_speed_limits ? (1 << 0x1D) : 0); /* wagonspeedlimits */ } static void InitNewGRFFile(const char* filename, int sprite_offset) |