(svn r514) -Fix: [1053397] Refit Train Window Stays Open
authortron
Sat, 06 Nov 2004 09:24:28 +0000
changeset 338 37500d4214f3
parent 337 cbe0c766c947
child 339 f378769765a6
(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;