(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.

This commit is contained in:
rubidium
2009-04-10 22:47:19 +00:00
parent 11e2ca71e6
commit 20a290cefe
3 changed files with 14 additions and 5 deletions

View File

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