(svn r21990) -Cleanup (r14085): Remove unneeded test.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 14 years ago
parent 9aa185572b
commit 2fbecaf4bf

@ -1107,7 +1107,7 @@ static inline void ChangeVehicleWindow(WindowClass window_class, VehicleID from_
if (w != NULL) {
w->window_number = to_index;
if (w->viewport != NULL) w->viewport->follow_vehicle = to_index;
if (to_index != INVALID_VEHICLE) w->InvalidateData();
w->InvalidateData();
}
}

Loading…
Cancel
Save