equal
deleted
inserted
replaced
951 } |
951 } |
952 break; |
952 break; |
953 |
953 |
954 case WE_DESTROY: { |
954 case WE_DESTROY: { |
955 WindowNumber wno = |
955 WindowNumber wno = |
956 (w->window_number << 16) | GetStation(w->window_number)->owner; |
956 (w->window_number << 16) | VLW_STATION_LIST | GetStation(w->window_number)->owner; |
957 |
957 |
958 DeleteWindowById(WC_TRAINS_LIST, wno); |
958 DeleteWindowById(WC_TRAINS_LIST, wno); |
959 DeleteWindowById(WC_ROADVEH_LIST, wno); |
959 DeleteWindowById(WC_ROADVEH_LIST, wno); |
960 DeleteWindowById(WC_SHIPS_LIST, wno); |
960 DeleteWindowById(WC_SHIPS_LIST, wno); |
961 DeleteWindowById(WC_AIRCRAFT_LIST, wno); |
961 DeleteWindowById(WC_AIRCRAFT_LIST, wno); |