(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz.
authorrubidium
Wed, 26 Sep 2007 14:05:09 +0000
changeset 8132 e340faa4eeef
parent 8131 388b8b81b271
child 8133 597f682ff48d
(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
--- a/src/rail_cmd.cpp	Wed Sep 26 02:45:13 2007 +0000
+++ b/src/rail_cmd.cpp	Wed Sep 26 14:05:09 2007 +0000
@@ -1066,6 +1066,7 @@
 
 		if (IsTileDepotType(tile, TRANSPORT_RAIL)) {
 			/* Update build vehicle window related to this depot */
+			InvalidateWindowData(WC_VEHICLE_DEPOT, tile);
 			InvalidateWindowData(WC_BUILD_VEHICLE, tile);
 		}