From dda7b60a57344183e7db77ba050c97173a4605fc Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 9 Feb 2011 20:45:40 +0000 Subject: (svn r22044) -Fix [FS#4493]: update the consist cache when a part of a train is flipped in the depot --- src/train_cmd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index fd0abdc28..754ae9198 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1807,6 +1807,7 @@ CommandCost CmdReverseTrainDirection(TileIndex tile, DoCommandFlag flags, uint32 if (flags & DC_EXEC) { ToggleBit(v->flags, VRF_REVERSE_DIRECTION); + front->ConsistChanged(false); SetWindowDirty(WC_VEHICLE_DEPOT, front->tile); SetWindowDirty(WC_VEHICLE_DETAILS, front->index); SetWindowDirty(WC_VEHICLE_VIEW, front->index); -- cgit v1.2.3-70-g09d2