(svn r17002) -Change: also support distant join for waypoints

This commit is contained in:
rubidium
2009-07-31 16:28:28 +00:00
parent 1d45e1e239
commit 5fa2b6ed8a
6 changed files with 70 additions and 31 deletions

View File

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