(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
This commit is contained in:
@@ -460,7 +460,7 @@ Waypoint::~Waypoint()
|
||||
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
|
||||
|
||||
RedrawWaypointSign(this);
|
||||
this->xy = 0;
|
||||
this->xy = INVALID_TILE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user