1
0
Fork 0

Oops - no 3D model assigned to aircraft starting at airports with logical networks

This commit is contained in:
daveluff 2004-02-04 16:59:04 +00:00
parent c4bca03ec2
commit 129a9fabe2

View file

@ -322,6 +322,7 @@ void FGAIMgr::ActivateAirport(string ident) {
ATC->AIRegisterAirport(ident);
// TODO - need to start the traffic more randomly
FGAILocalTraffic* local_traffic = new FGAILocalTraffic;
local_traffic->SetModel(_defaultModel); // currently hardwired to cessna.
//local_traffic->Init(ident, IN_PATTERN, TAKEOFF_ROLL);
local_traffic->Init(GenerateShortForm(GenerateUniqueCallsign()), ident);
local_traffic->FlyCircuits(1, true); // Fly 2 circuits with touch & go in between