order_cmd.c
changeset 1055 3aae1d6f12aa
parent 1053 dfb5243315f1
child 1093 e8d26c7dc42f
--- a/order_cmd.c	Mon Jan 17 22:44:33 2005 +0000
+++ b/order_cmd.c	Tue Jan 18 09:35:31 2005 +0000
@@ -343,8 +343,8 @@
 	}
 
 	/* We have an aircraft/ship, they have a mini-schedule, so update them all */
-	if (v->type == VEH_Aircraft) InvalidateAircraftWindows(v);
-	if (v->type == VEH_Ship) InvalidateShipWindows(v);
+	if (v->type == VEH_Aircraft) InvalidateWindowClasses(WC_AIRCRAFT_LIST);
+	if (v->type == VEH_Ship) InvalidateWindowClasses(WC_SHIPS_LIST);
 
 	return 0;
 }