From 93459d1b43887b5de7104128703e2ebcb71d49fa Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 26 Sep 2007 14:05:09 +0000 Subject: (svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz. --- src/rail_cmd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index b1b469500..c4f9dd1c1 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -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); } -- cgit v1.2.3-70-g09d2