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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user