(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz.
This commit is contained in:
@@ -1066,6 +1066,7 @@ static CommandCost DoConvertRail(TileIndex tile, RailType totype, bool exec)
|
|||||||
|
|
||||||
if (IsTileDepotType(tile, TRANSPORT_RAIL)) {
|
if (IsTileDepotType(tile, TRANSPORT_RAIL)) {
|
||||||
/* Update build vehicle window related to this depot */
|
/* Update build vehicle window related to this depot */
|
||||||
|
InvalidateWindowData(WC_VEHICLE_DEPOT, tile);
|
||||||
InvalidateWindowData(WC_BUILD_VEHICLE, tile);
|
InvalidateWindowData(WC_BUILD_VEHICLE, tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user