(svn r20331) -Doc: some more airport-related code

This commit is contained in:
yexo
2010-08-02 23:09:38 +00:00
parent aae7ef73bb
commit 689d4bef04
3 changed files with 16 additions and 12 deletions

View File

@@ -56,6 +56,7 @@ AirportSpec AirportSpec::specs[NUM_AIRPORTS];
return &AirportSpec::specs[type];
}
/** Check if this airport is available to build. */
bool AirportSpec::IsAvailable() const
{
if (!this->enabled) return false;