summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index a08e543c3..81d7d9563 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -460,7 +460,7 @@ Waypoint::~Waypoint()
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
RedrawWaypointSign(this);
- this->xy = 0;
+ this->xy = INVALID_TILE;
}
/**