train_cmd.c
changeset 1779 598bf208ad44
parent 1777 d328484bd6f2
child 1784 6eb3ab1bc33c
--- a/train_cmd.c	Sun May 08 16:17:01 2005 +0000
+++ b/train_cmd.c	Sun May 08 20:53:02 2005 +0000
@@ -935,6 +935,7 @@
 		DeleteWindowById(WC_VEHICLE_VIEW, first->index);
 		InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Train);
 		InvalidateWindow(WC_VEHICLE_DEPOT, first->tile);
+		RebuildVehicleLists();
 	}
 
 	switch (p2) {