mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 20:03:26 +00:00
(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted.
This commit is contained in:
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…
Reference in New Issue
Block a user