mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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:
parent
a24ccbdb14
commit
93459d1b43
@ -1066,6 +1066,7 @@ static CommandCost DoConvertRail(TileIndex tile, RailType totype, bool exec)
|
||||
|
||||
if (IsTileDepotType(tile, TRANSPORT_RAIL)) {
|
||||
/* Update build vehicle window related to this depot */
|
||||
InvalidateWindowData(WC_VEHICLE_DEPOT, tile);
|
||||
InvalidateWindowData(WC_BUILD_VEHICLE, tile);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user