summaryrefslogtreecommitdiff
path: root/order_cmd.c
diff options
context:
space:
mode:
authorCelestar <Celestar@openttd.org>2005-01-18 09:35:31 +0000
committerCelestar <Celestar@openttd.org>2005-01-18 09:35:31 +0000
commita003bb0b0e7eab9dbba683c1ef2b2170e0b9985c (patch)
tree467646e7683ed0d5f231399fd0dcc03e2443fb57 /order_cmd.c
parent05d0c2ce89ae0172a3f3604d9a53a1a21972c581 (diff)
downloadopenttd-a003bb0b0e7eab9dbba683c1ef2b2170e0b9985c.tar.xz
(svn r1556) -Fix: Vehicle list updates should now really work
Diffstat (limited to 'order_cmd.c')
-rw-r--r--order_cmd.c4
1 files changed, 2 insertions, 2 deletions
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;
}