diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp index db91cdab35..772ef87c35 100644 --- a/src/ai/default/default.cpp +++ b/src/ai/default/default.cpp @@ -3574,6 +3574,7 @@ static void AiStateBuildAircraftVehicles(Player *p) veh = AiChooseAircraftToBuild(p->player_money, forbidden); if (veh == INVALID_ENGINE) return; + if (GetStationByTile(tile)->Airport()->nof_depots == 0) return; /* XXX - Have the AI pick the hangar terminal in an airport. Eg get airport-type * and offset to the FIRST depot because the AI picks the st->xy tile */