(svn r1652) Fix: train and road vehicle lists are now redrawn when vehicles enters/leaves a depot (Hackykid)

fix: the ship status bar was not updated properly after a breakdown if show_speed was off (Hackykid)
This commit is contained in:
bjarni
2005-01-24 22:24:47 +00:00
parent ffb2c4de77
commit e006f89aa3
6 changed files with 23 additions and 15 deletions

View File

@@ -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);
}
}
}