1
0
Fork 0

Fix an array overrun error (Ok'd by Jon)

This commit is contained in:
curt 2007-05-17 20:25:16 +00:00
parent f1d0db8c86
commit 95015dc61f

View file

@ -77,7 +77,7 @@ FGFCS::FGFCS(FGFDMExec* fdmex) : FGModel(fdmex)
LeftBrake = RightBrake = CenterBrake = 0.0;
bind();
for (i=0;i<=NForms;i++) {
for (i=0;i<NForms;i++) {
DePos[i] = DaLPos[i] = DaRPos[i] = DrPos[i] = 0.0;
DfPos[i] = DsbPos[i] = DspPos[i] = 0.0;
}