Remove a couple of extraneous lines.
This commit is contained in:
parent
7d6aea909d
commit
ca230a7cf3
1 changed files with 4 additions and 6 deletions
|
@ -154,12 +154,10 @@ bool FGAILocalTraffic::Init(string ICAO, OperatingState initialState, PatternLeg
|
||||||
//cout << "FGAILocalTraffic.Init(...) called" << endl;
|
//cout << "FGAILocalTraffic.Init(...) called" << endl;
|
||||||
// Hack alert - Hardwired path!!
|
// Hack alert - Hardwired path!!
|
||||||
string planepath = "Aircraft/c172/Models/c172-dpm.ac";
|
string planepath = "Aircraft/c172/Models/c172-dpm.ac";
|
||||||
SGPath path = globals->get_fg_root();
|
ssgBranch *model = sgLoad3DModel( globals->get_fg_root(),
|
||||||
path.append(planepath);
|
planepath.c_str(),
|
||||||
ssgBranch *model = sgLoad3DModel( globals->get_fg_root(),
|
globals->get_props(),
|
||||||
planepath.c_str(),
|
globals->get_sim_time_sec() );
|
||||||
globals->get_props(),
|
|
||||||
globals->get_sim_time_sec() );
|
|
||||||
aip.init( model );
|
aip.init( model );
|
||||||
aip.setVisible(false); // This will be set to true once a valid ground elevation has been determined
|
aip.setVisible(false); // This will be set to true once a valid ground elevation has been determined
|
||||||
globals->get_scenery()->get_scene_graph()->addKid(aip.getSceneGraph());
|
globals->get_scenery()->get_scene_graph()->addKid(aip.getSceneGraph());
|
||||||
|
|
Loading…
Add table
Reference in a new issue