* Callback function that is called after a name is moved * @param result of the operation * @param waypoint_id ID of the changed waypoint */
| 656 | * @param waypoint_id ID of the changed waypoint |
| 657 | */ |
| 658 | void CcMoveWaypointName(Commands, const CommandCost &result, StationID waypoint_id) |
| 659 | { |
| 660 | if (result.Failed()) return; |
| 661 | |
| 662 | ResetObjectToPlace(); |
| 663 | Waypoint *wp = Waypoint::Get(waypoint_id); |
| 664 | SetViewportCatchmentWaypoint(wp, false); |
| 665 | } |
nothing calls this directly
no test coverage detected