summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 389141d46..28203b21f 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -732,7 +732,7 @@ int32 CmdMoveRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
}
InvalidateWindow(WC_VEHICLE_DEPOT, src_head->tile);
- InvalidateWindow(WC_TRAINS_LIST, _current_player);
+ RebuildVehicleLists();
}
return 0;