(svn r514) -Fix: [1053397] Refit Train Window Stays Open
authortron
Sat, 06 Nov 2004 09:24:28 +0000
changeset 338 04ad3e897bf8
parent 337 66647f97e7c0
child 339 75ed2d3a05ec
(svn r514) -Fix: [1053397] Refit Train Window Stays Open
train_gui.c
--- a/train_gui.c	Fri Nov 05 23:12:33 2004 +0000
+++ b/train_gui.c	Sat Nov 06 09:24:28 2004 +0000
@@ -820,6 +820,7 @@
 	} break;
 
 	case WE_DESTROY:
+		DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
 		DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
 		DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
 		break;