(svn r5225) Some windows periodically check if their parent exists - if not they close themselves
This is unnecessary, because their parents already close them when they get closed Therefore remove the code for the periodic checks
This commit is contained in:
@@ -487,11 +487,6 @@ static void OrdersWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
} break;
|
||||
|
||||
case WE_4: {
|
||||
if (FindWindowById(WC_VEHICLE_VIEW, w->window_number) == NULL)
|
||||
DeleteWindow(w);
|
||||
} break;
|
||||
|
||||
case WE_PLACE_OBJ: {
|
||||
OrdersPlaceObj(GetVehicle(w->window_number), e->place.tile, w);
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user