changeset 9862 | f801c7d84353 |
parent 9861 | 10bbfd0947e8 |
child 9908 | a2cd9bc6a38b |
--- a/src/vehicle_gui.cpp Wed Aug 06 18:57:37 2008 +0000 +++ b/src/vehicle_gui.cpp Wed Aug 06 19:00:31 2008 +0000 @@ -642,7 +642,7 @@ if (w != NULL) { w->window_number = to_index; if (w->viewport != NULL) w->viewport->follow_vehicle = to_index; - w->SetDirty(); + if (to_index != INVALID_VEHICLE) InvalidateThisWindowData(w); } }