summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--train_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 3a1594c22..4ae854bba 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -1732,6 +1732,8 @@ int32 CmdReverseTrainDirection(TileIndex tile, uint32 flags, uint32 p1, uint32 p
if (flags & DC_EXEC) {
TOGGLEBIT(v->u.rail.flags, VRF_REVERSE_DIRECTION);
+ InvalidateWindow(WC_VEHICLE_DEPOT, v->tile);
+ InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
}
} else {
//turn the whole train around