From 4094e9b4950f377bc41f9d34f7efa5a3ee5638a7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 22 Mar 2008 16:23:47 +0000 Subject: (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_gui.cpp') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 618587ffa..5dad18a43 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -953,7 +953,7 @@ static void StationViewWndProc(Window *w, WindowEvent *e) case WE_DESTROY: { WindowNumber wno = - (w->window_number << 16) | GetStation(w->window_number)->owner; + (w->window_number << 16) | VLW_STATION_LIST | GetStation(w->window_number)->owner; DeleteWindowById(WC_TRAINS_LIST, wno); DeleteWindowById(WC_ROADVEH_LIST, wno); -- cgit v1.2.3-70-g09d2