summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index b56d201f8..ea28db771 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -175,7 +175,7 @@ static void HandleBrokenShip(Vehicle *v)
if (!(v->tick_counter & 1)) {
if (!--v->breakdown_delay) {
v->breakdown_ctr = 0;
- InvalidateWindowClasses(WC_SHIPS_LIST);
+ InvalidateWindow(WC_VEHICLE_VIEW, v->index);
}
}
}