(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:
tron
2006-06-11 14:56:21 +00:00
parent 4ab56f465c
commit 8cae4d1214
5 changed files with 0 additions and 49 deletions

View File

@@ -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;