summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rail_cmd.cpp1
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: