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

This commit is contained in:
frosch 2011-02-05 23:02:52 +00:00
parent 9aa185572b
commit 2fbecaf4bf
1 changed files with 1 additions and 1 deletions

View File

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