diff options
author | rubidium <rubidium@openttd.org> | 2009-07-31 16:28:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-31 16:28:28 +0000 |
commit | a148a991bbc9325bebac7a3871f44f150a9b7b62 (patch) | |
tree | efb7c0a1e22fe013521add2d9ba0852384c74f76 /src/rail_gui.cpp | |
parent | 097e79a86de967c416d71d934a325d883d917fd5 (diff) | |
download | openttd-a148a991bbc9325bebac7a3871f44f150a9b7b62.tar.xz |
(svn r17002) -Change: also support distant join for waypoints
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index fd83b97a5..25ac103d1 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -776,7 +776,7 @@ struct BuildRailToolbarWindow : Window { uint32 p2 = STAT_CLASS_WAYP | _cur_waypoint_type << 8 | INVALID_STATION << 16; CommandContainer cmdcont = { ta.tile, p1, p2, CMD_BUILD_RAIL_WAYPOINT | CMD_MSG(STR_CANT_BUILD_TRAIN_WAYPOINT), CcPlaySound1E, "" }; - DoCommandP(&cmdcont); + ShowSelectWaypointIfNeeded(cmdcont, ta); } } break; |