Change: Remove ship max order distance.

It is skipped when NPF is in use.
It is trivial to work around by adding and removing dummy orders.
It is mostly alleviated by the ship path cache in YAPF.
This commit is contained in:
peter1138
2019-02-25 13:07:29 +00:00
committed by PeterN
parent 66bed86bbb
commit f656f5e8eb
2 changed files with 0 additions and 39 deletions

View File

@@ -57,8 +57,6 @@ struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
void SetDestTile(TileIndex tile);
};
static const uint SHIP_MAX_ORDER_DISTANCE = 130;
/**
* Iterate over all ships.
* @param var The variable used for iteration.