From 254e19da91309da11416c69ae7899dc11e608df0 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 3 Jan 2009 16:06:58 +0000 Subject: (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints --- src/waypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/waypoint.cpp') 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; } /** -- cgit v1.2.3-54-g00ecf