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 | c02b1d555d36dbce487d2fc32fcef6e1cfd32964 (patch) | |
tree | 9c3c0f779426eef44c578e5eff9fd77c8efb5830 /newgrf.c | |
parent | 47de27ab69af44444e481bd867ee93ae3fd77eac (diff) | |
download | openttd-c02b1d555d36dbce487d2fc32fcef6e1cfd32964.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) |