summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index adb58cc89..f15a5dabd 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -62,6 +62,11 @@ struct Airport : public TileArea {
{
return this->GetSpec()->fsm;
}
+
+ FORCEINLINE bool HasHangar() const
+ {
+ return this->GetSpec()->nof_depots > 0;
+ }
};
typedef SmallVector<Industry *, 2> IndustryVector;