diff options
author | frosch <frosch@openttd.org> | 2015-04-26 10:26:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-04-26 10:26:07 +0000 |
commit | e3c8e8e8e8b666ad2a41ff59d9af5e8c64c204e6 (patch) | |
tree | 3cce81eb6eeac54364920a722058b2f1ace96f70 | |
parent | 3a82bae0d3b1010f5ad64606a36416d72b1fc380 (diff) | |
download | openttd-e3c8e8e8e8b666ad2a41ff59d9af5e8c64c204e6.tar.xz |
(svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88)
-rw-r--r-- | src/rail_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 8a15808c2..1fcdab073 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -501,6 +501,7 @@ CommandCost CmdBuildSingleRail(TileIndex tile, DoCommandFlag flags, uint32 p1, u } } roadtypes |= ROADTYPES_ROAD; + cost.AddCost(2 * _price[PR_BUILD_ROAD]); break; case ROADTYPES_ALL: |