From a148a991bbc9325bebac7a3871f44f150a9b7b62 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 31 Jul 2009 16:28:28 +0000 Subject: (svn r17002) -Change: also support distant join for waypoints --- src/rail_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rail_gui.cpp') 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; -- cgit v1.2.3-54-g00ecf