diff options
author | rubidium <rubidium@openttd.org> | 2009-04-10 22:47:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-10 22:47:19 +0000 |
commit | f16aa9f50988bbee22c10f48eff2e2c9528db30d (patch) | |
tree | 48655aa82d7d4de847c5d6373871160f2d11a5ac /src/station_gui.cpp | |
parent | bee930f9b3b9dad52945c1186227519cf9d566aa (diff) | |
download | openttd-f16aa9f50988bbee22c10f48eff2e2c9528db30d.tar.xz |
(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index a1a37e5c6..185e8d382 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -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); |