(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 16 years ago
parent 389d89ea49
commit 4094e9b495

@ -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);

Loading…
Cancel
Save