Fix an array overrun error (Ok'd by Jon)
This commit is contained in:
parent
f1d0db8c86
commit
95015dc61f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue