|
|
@ -88,7 +88,6 @@ static void RedrawWaypointSign(const Waypoint* wp)
|
|
|
|
/* Update all signs */
|
|
|
|
/* Update all signs */
|
|
|
|
void UpdateAllWaypointSigns(void)
|
|
|
|
void UpdateAllWaypointSigns(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DestinationID dest;
|
|
|
|
|
|
|
|
Waypoint *wp;
|
|
|
|
Waypoint *wp;
|
|
|
|
|
|
|
|
|
|
|
|
FOR_ALL_WAYPOINTS(wp) {
|
|
|
|
FOR_ALL_WAYPOINTS(wp) {
|
|
|
@ -99,6 +98,8 @@ void UpdateAllWaypointSigns(void)
|
|
|
|
/* Internal handler to delete a waypoint */
|
|
|
|
/* Internal handler to delete a waypoint */
|
|
|
|
void DestroyWaypoint(Waypoint *wp)
|
|
|
|
void DestroyWaypoint(Waypoint *wp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
DestinationID dest;
|
|
|
|
|
|
|
|
|
|
|
|
dest.waypoint = wp->index;
|
|
|
|
dest.waypoint = wp->index;
|
|
|
|
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, dest);
|
|
|
|
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, dest);
|
|
|
|
|
|
|
|
|
|
|
|