diff options
author | rubidium <rubidium@openttd.org> | 2009-12-04 20:29:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-04 20:29:46 +0000 |
commit | 19fa38601d8df49c309052e8bccb8c2e4302b51e (patch) | |
tree | 52d8dac77300440aef8f3b55a6caad487d242816 /src/aircraft.h | |
parent | c22f9679b5c9e5a637ccc006d0b69680b8894ea3 (diff) | |
download | openttd-19fa38601d8df49c309052e8bccb8c2e4302b51e.tar.xz |
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<Aircraft, VEH_AIRCRAFT> { 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); |