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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user