summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-02-25 13:07:29 +0000
committerPeterN <peter@fuzzle.org>2019-03-31 17:22:54 +0100
commitf656f5e8eb8835aad2ad19ca9ade253666b17089 (patch)
tree6aa9731527dfc54ddc3f80403494943ec09ab9be /src/ship.h
parent66bed86bbb76ff799e79df1796535f592af81a1f (diff)
downloadopenttd-f656f5e8eb8835aad2ad19ca9ade253666b17089.tar.xz
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.
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ship.h b/src/ship.h
index 60d4466d6..6f818efb2 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -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.