1
0
Fork 0

Andreas Gaeb: fix #222 (JSBSIm reset problems)

This commit is contained in:
James Turner 2011-01-25 00:26:07 +00:00
parent 6cb4fbcf0a
commit 53e8fbfcbb
2 changed files with 4 additions and 1 deletions

View file

@ -292,6 +292,8 @@ FGJSBsim::FGJSBsim( double dt )
fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-x-in", 196), fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-x-in", 196),
fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-y-in", 0), fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-y-in", 0),
fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-z-in", -16)); fgGetDouble("/fdm/jsbsim/systems/hook/tailhook-offset-z-in", -16));
last_hook_tip[0] = 0; last_hook_tip[1] = 0; last_hook_tip[2] = 0;
last_hook_root[0] = 0; last_hook_root[1] = 0; last_hook_root[2] = 0;
crashed = false; crashed = false;
} }

View file

@ -78,7 +78,8 @@ static const char *IdHdr = ID_PROPAGATE;
CLASS IMPLEMENTATION CLASS IMPLEMENTATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
FGPropagate::FGPropagate(FGFDMExec* fdmex) : FGModel(fdmex) FGPropagate::FGPropagate(FGFDMExec* fdmex) : FGModel(fdmex),
LocalTerrainRadius(0), SeaLevelRadius(0), VehicleRadius(0)
{ {
Debug(0); Debug(0);
Name = "FGPropagate"; Name = "FGPropagate";