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 | a1b482973de4a2d14088710237119e13eb89e60c (patch) | |
tree | ae310350119829d8ba97096972466ed0bae3b3ac /src/railtypes.h | |
parent | 2194b15fdd127064aea07a2f0a139a59872523ca (diff) | |
download | openttd-a1b482973de4a2d14088710237119e13eb89e60c.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, }, }; |