(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.
This commit is contained in:
@@ -1170,7 +1170,7 @@ struct SelectStationWindow : Window {
|
||||
|
||||
/* Insert station to be joined into stored command */
|
||||
SB(this->select_station_cmd.p2, 16, 16,
|
||||
(distant_join ? _stations_nearby_list[st_index] : INVALID_STATION));
|
||||
(distant_join ? _stations_nearby_list[st_index] : NEW_STATION));
|
||||
|
||||
/* Execute stored Command */
|
||||
DoCommandP(&this->select_station_cmd);
|
||||
|
Reference in New Issue
Block a user