Fix a model loading problem
This commit is contained in:
parent
5d6eafc091
commit
19b61eec1e
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ bool FGAILocalTraffic::Init(string ICAO, OperatingState initialState, PatternLeg
|
||||||
string planepath = "Aircraft/c172/Models/c172-dpm.ac";
|
string planepath = "Aircraft/c172/Models/c172-dpm.ac";
|
||||||
SGPath path = globals->get_fg_root();
|
SGPath path = globals->get_fg_root();
|
||||||
path.append(planepath);
|
path.append(planepath);
|
||||||
ssgBranch *model = sgLoad3DModel( path.str(),
|
ssgBranch *model = sgLoad3DModel( globals->get_fg_root(),
|
||||||
planepath.c_str(),
|
planepath.c_str(),
|
||||||
globals->get_props(),
|
globals->get_props(),
|
||||||
globals->get_sim_time_sec() );
|
globals->get_sim_time_sec() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue