mirror of https://github.com/OpenTTD/OpenTTD
(svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88)
parent
3a82bae0d3
commit
e3c8e8e8e8
|
@ -501,6 +501,7 @@ CommandCost CmdBuildSingleRail(TileIndex tile, DoCommandFlag flags, uint32 p1, u
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
roadtypes |= ROADTYPES_ROAD;
|
roadtypes |= ROADTYPES_ROAD;
|
||||||
|
cost.AddCost(2 * _price[PR_BUILD_ROAD]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ROADTYPES_ALL:
|
case ROADTYPES_ALL:
|
||||||
|
|
Loading…
Reference in New Issue