diff options
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 60ec9311d..59fb9a01f 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1663,7 +1663,7 @@ bool ProcessOrders(Vehicle *v) case VEH_AIRCRAFT: case VEH_SHIP: - InvalidateWindowClasses(v->GetVehicleListWindowClass()); + InvalidateWindowClasses(GetWindowClassForVehicleType(v->type)); break; } |