diff options
author | Celestar <celestar@openttd.org> | 2005-01-18 09:35:31 +0000 |
---|---|---|
committer | Celestar <celestar@openttd.org> | 2005-01-18 09:35:31 +0000 |
commit | 5bcf3d2bc0620a40728ebb2c0dcbe34fcd6f5084 (patch) | |
tree | 467646e7683ed0d5f231399fd0dcc03e2443fb57 /order_cmd.c | |
parent | 4559279686fd95be1d78ba3933efb76ffd476458 (diff) | |
download | openttd-5bcf3d2bc0620a40728ebb2c0dcbe34fcd6f5084.tar.xz |
(svn r1556) -Fix: Vehicle list updates should now really work
Diffstat (limited to 'order_cmd.c')
-rw-r--r-- | order_cmd.c | 4 |
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; } |