Skip to content

Commit

Permalink
More clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Feb 17, 2025
1 parent d8628f9 commit 489581e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/input_output/FGOutputFG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ void FGOutputFG::SocketDataFill(FGNetFDM* net)

net->num_engines = min(FGNetFDM::FG_MAX_ENGINES,Propulsion->GetNumEngines()); // Number of valid engines

for (i = 0; i < net->num_engines; i++)
{
for (i=0; i<net->num_engines; i++) {
auto engine = Propulsion->GetEngine(i);
if (engine->GetRunning())
net->eng_state[i] = 2; // Engine state running
Expand Down

0 comments on commit 489581e

Please sign in to comment.