diff options
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index a76acd34f..204f5ad48 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -179,12 +179,6 @@ static void NewAircraftWndProc(Window *w, WindowEvent *e) } break; - case WE_4: - if (w->window_number != 0 && !FindWindowById(WC_VEHICLE_DEPOT, w->window_number)) { - DeleteWindow(w); - } - break; - case WE_ON_EDIT_TEXT: { if (e->edittext.str[0] != '\0') { _cmd_text = e->edittext.str; @@ -432,11 +426,6 @@ do_change_service_int: } } break; - case WE_4: - if (FindWindowById(WC_VEHICLE_VIEW, w->window_number) == NULL) - DeleteWindow(w); - break; - case WE_ON_EDIT_TEXT: if (e->edittext.str[0] != '\0') { _cmd_text = e->edittext.str; |