diff options
author | rubidium <rubidium@openttd.org> | 2007-09-26 14:05:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-26 14:05:09 +0000 |
commit | 93459d1b43887b5de7104128703e2ebcb71d49fa (patch) | |
tree | 502bfc966f8b0f4b3a42bb835d79b05805f3315e /src | |
parent | a24ccbdb14f8fd4a0541db7701c92a3d85a5dc6a (diff) | |
download | openttd-93459d1b43887b5de7104128703e2ebcb71d49fa.tar.xz |
(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz.
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |