JSB: "Fixed uninitialized variables; patch by Anders Gidenstam"
mf: backporting from JSB/CVS to fix serious gear problem
This commit is contained in:
parent
e3c2cf3abc
commit
405c013618
1 changed files with 9 additions and 0 deletions
|
@ -205,6 +205,15 @@ FGLGear::FGLGear(Element* el, FGFDMExec* fdmex, int number) : Exec(fdmex),
|
|||
WheelSlip = 0.0;
|
||||
TirePressureNorm = 1.0;
|
||||
|
||||
SideWhlVel = 0.0;
|
||||
RollingWhlVel = 0.0;
|
||||
|
||||
SinWheel = 0.0;
|
||||
CosWheel = 0.0;
|
||||
|
||||
prevSlipIn = 0.0;
|
||||
prevSlipOut = 0.0;
|
||||
|
||||
Debug(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue