summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 87590054d..2ae3aff8b 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -1489,7 +1489,7 @@ void EndVehicleMove(Vehicle *v)
void InvalidateVehicleOrderWidget(Vehicle *v)
{
- InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, 4);
+ InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
InvalidateWindowWidget(WC_VEHICLE_ORDERS, v->index, 2);
}