Skip to content

Commit

Permalink
Even more clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Feb 17, 2025
1 parent 489581e commit ff2b4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input_output/FGOutputFG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void FGOutputFG::SocketDataFill(FGNetFDM* net)
net->num_tanks = min(FGNetFDM::FG_MAX_TANKS, Propulsion->GetNumTanks()); // Max number of fuel tanks

for (i=0; i<net->num_tanks; i++) {
net->fuel_quantity[i] = (float)(Propulsion->GetTank(i)->GetContents());
net->fuel_quantity[i] = static_cast<float>(Propulsion->GetTank(i)->GetContents());
}

net->num_wheels = min(FGNetFDM::FG_MAX_WHEELS, GroundReactions->GetNumGearUnits());
Expand Down

0 comments on commit ff2b4e8

Please sign in to comment.