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

This commit is contained in:
yexo
2010-08-02 23:09:38 +00:00
parent b5b5c21ee5
commit 0cd442ea18
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;