aircraft_gui.c
changeset 4012 ad6a6f29e890
parent 3987 96b119a9fb94
child 4056 30ceffc75059
--- a/aircraft_gui.c	Sun Jun 11 07:17:43 2006 +0000
+++ b/aircraft_gui.c	Sun Jun 11 14:56:21 2006 +0000
@@ -179,12 +179,6 @@
 		}
 		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 @@
 		}
 	} 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;