summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-12-17 03:37:43 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-12-21 20:13:03 +0100
commitd8a1be48cd60c690235de175e9a044b95f92ea28 (patch)
tree2e1481aa11661c28df49f0d62f56fbf730577152 /src/ship.h
parent9892d90b26db4dfe97ec7baeb89e43acb53a178e (diff)
downloadopenttd-d8a1be48cd60c690235de175e9a044b95f92ea28.tar.xz
Codechange: Replace vehicle related FOR_ALL with range-based for loops
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ship.h b/src/ship.h
index 282b94360..f3e56c39f 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -57,10 +57,4 @@ struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
bool IsShipDestinationTile(TileIndex tile, StationID station);
-/**
- * Iterate over all ships.
- * @param var The variable used for iteration.
- */
-#define FOR_ALL_SHIPS(var) FOR_ALL_VEHICLES_OF_TYPE(Ship, var)
-
#endif /* SHIP_H */