(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
This commit is contained in:
@@ -663,7 +663,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) InvalidateThisWindowData(w, 0);
|
||||
if (to_index != INVALID_VEHICLE) w->InvalidateData();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user