Departure boards: cleanup: move misplaced comment

pull/457/head
cakepie 2 years ago committed by GitHub
parent 87aa379aa9
commit 821be47a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -337,11 +337,11 @@ public:
} else {
this->show_types[widget - WID_DB_SHOW_TRAINS] = !this->show_types[widget - WID_DB_SHOW_TRAINS];
this->SetWidgetLoweredState(widget, this->show_types[widget - WID_DB_SHOW_TRAINS]);
/* We need to redraw the button that was pressed. */
this->SetWidgetDirty(widget);
}
/* We need to recompute the departures list. */
this->RefreshVehicleList();
/* We need to redraw the button that was pressed. */
if (_pause_mode != PM_UNPAUSED) this->OnGameTick();
break;
}

Loading…
Cancel
Save