From 19fa38601d8df49c309052e8bccb8c2e4302b51e Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 4 Dec 2009 20:29:46 +0000 Subject: (svn r18402) -Codechange: unify/centralise the code for crashing vehicles --- src/aircraft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/aircraft.h') diff --git a/src/aircraft.h b/src/aircraft.h index d1664886a..983d3e0e9 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -102,6 +102,7 @@ struct Aircraft : public SpecializedVehicle { bool IsInDepot() const { return (this->vehstatus & VS_HIDDEN) != 0 && IsHangarTile(this->tile); } bool Tick(); void OnNewDay(); + uint Crash(bool flooded = false); TileIndex GetOrderStationLocation(StationID station); bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); -- cgit v1.2.3-54-g00ecf