author | smatz |
Sat, 12 Jan 2008 19:24:58 +0000 | |
changeset 8256 | 1ec04ca06ffe |
parent 8255 | b6be574fb424 |
child 8257 | 3151fdbc73f9 |
src/train_cmd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/train_cmd.cpp Sat Jan 12 19:20:44 2008 +0000 +++ b/src/train_cmd.cpp Sat Jan 12 19:24:58 2008 +0000 @@ -3118,6 +3118,9 @@ DeleteWindowById(WC_VEHICLE_VIEW, v->index); RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner); + if (v->u.rail.track == TRACK_BIT_DEPOT) { + InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); + } BeginVehicleMove(v); EndVehicleMove(v);