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/railtypes.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/railtypes.h')
-rw-r--r-- | src/railtypes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/railtypes.h b/src/railtypes.h index d456d66ac..db5e4a94d 100644 --- a/src/railtypes.h +++ b/src/railtypes.h @@ -57,6 +57,9 @@ RailtypeInfo _railtypes[] = { /* custom ground offset */ 0, + + /* curve speed advantage (multiplier) */ + 0, }, /** Electrified railway */ @@ -110,6 +113,9 @@ RailtypeInfo _railtypes[] = { /* custom ground offset */ 0, + + /* curve speed advantage (multiplier) */ + 0, }, /** Monorail */ @@ -159,6 +165,9 @@ RailtypeInfo _railtypes[] = { /* custom ground offset */ 1, + + /* curve speed advantage (multiplier) */ + 1, }, /** Maglev */ @@ -208,6 +217,9 @@ RailtypeInfo _railtypes[] = { /* custom ground offset */ 2, + + /* curve speed advantage (multiplier) */ + 2, }, }; |