diff options
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.c b/waypoint.c index d5cd4987d..aa29c7a84 100644 --- a/waypoint.c +++ b/waypoint.c @@ -249,7 +249,7 @@ static void DoDeleteWaypoint(Waypoint *wp) { wp->xy = 0; - RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, wp->index); + RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, (DestinationID)wp->index); if (wp->string != STR_NULL) DeleteName(wp->string); |