diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-01 14:00:31 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-01 14:00:31 +0000 |
commit | a967a7287f7553a2873750ad00ae99e6adfa47c5 (patch) | |
tree | ae310350119829d8ba97096972466ed0bae3b3ac /src/rail.h | |
parent | 7031358cff96d93b82843722f45255d432a9c088 (diff) | |
download | openttd-a967a7287f7553a2873750ad00ae99e6adfa47c5.tar.xz |
(svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype.
Diffstat (limited to 'src/rail.h')
-rw-r--r-- | src/rail.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h index 1f940e19d..f2c35352b 100644 --- a/src/rail.h +++ b/src/rail.h @@ -89,6 +89,11 @@ struct RailtypeInfo { * Offset to add to ground sprite when drawing custom waypoints / stations */ byte custom_ground_offset; + + /** + * Multiplier for curve maximum speed advantage + */ + byte curve_speed; }; |