From 5bcf3d2bc0620a40728ebb2c0dcbe34fcd6f5084 Mon Sep 17 00:00:00 2001 From: Celestar Date: Tue, 18 Jan 2005 09:35:31 +0000 Subject: (svn r1556) -Fix: Vehicle list updates should now really work --- order_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'order_cmd.c') diff --git a/order_cmd.c b/order_cmd.c index 24fe6809b..401e24499 100644 --- a/order_cmd.c +++ b/order_cmd.c @@ -343,8 +343,8 @@ int32 CmdSkipOrder(int x, int y, uint32 flags, uint32 vehicle_id, uint32 not_use } /* 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; } -- cgit v1.2.3-54-g00ecf