1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-22 03:42:41 +01:00

(svn r27272) [1.5] -Backport from trunk:

- Fix: ScriptList::RemoveList failed to remove a list from itself [FS#6287] (r27258)
- Fix: Combined button+dropdown widgets in order and autoreplace GUI had incorrect hitbox when using GUI zoom [FS#6270] (r27255)
- Fix: When building a lock on DC_AUTO-removable water-based objects, the water class was always set to canal [FS#6264] (r27254)
- Fix: When crossing tram tracks with railroads, cost of extra roads was not being counted [FS#6282] (r27253)
This commit is contained in:
frosch
2015-05-08 17:32:57 +00:00
parent 24fdbabaf9
commit 622ea4406d
4 changed files with 19 additions and 14 deletions

View File

@@ -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: