diff options
author | peter1138 <peter1138@openttd.org> | 2008-08-24 23:10:23 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-08-24 23:10:23 +0000 |
commit | b45ced35eea5caed622fd93f460d90378326daf7 (patch) | |
tree | 2a46895f22afbc2c7e3bc61f7898ff2404d547f9 /src/rail.cpp | |
parent | 2f80a277eb88271f2f0534b85bb3fbe97b036e12 (diff) | |
download | openttd-b45ced35eea5caed622fd93f460d90378326daf7.tar.xz |
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
Diffstat (limited to 'src/rail.cpp')
-rw-r--r-- | src/rail.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rail.cpp b/src/rail.cpp index b153788b4..7c508dd8b 100644 --- a/src/rail.cpp +++ b/src/rail.cpp @@ -149,13 +149,6 @@ extern const TrackdirBits _uphill_trackdirs[] = { TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_SE, ///< 30 SLOPE_STEEP_E -> inclined for diagonal track }; -/* The default multiplier for the cost of building different types of railway - * track, which will be divided by 8. Can be changed by newgrf files. */ -const int _default_railtype_cost_multiplier[RAILTYPE_END] = { - 8, 12, 16, 24, -}; -int _railtype_cost_multiplier[RAILTYPE_END]; - RailType GetTileRailType(TileIndex tile) { switch (GetTileType(tile)) { |