Skip to content

Commit

Permalink
Consistency for some FGFDMExec properties
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcleod committed Sep 28, 2024
1 parent a3101eb commit 11f9d18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/FGFDMExec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ FGFDMExec::FGFDMExec(FGPropertyManager* root, std::shared_ptr<unsigned int> fdmc
instance->Tie("simulation/reset", this, (iPMF)0, &FGFDMExec::ResetToInitialConditions);
instance->Tie("simulation/disperse", this, &FGFDMExec::GetDisperse);
instance->Tie("simulation/randomseed", this, (iPMF)&FGFDMExec::SRand, &FGFDMExec::SRand);
instance->Tie("simulation/terminate", (int *)&Terminate);
instance->Tie("simulation/pause", (int *)&holding);
instance->Tie("simulation/terminate", (bool *)&Terminate);
instance->Tie("simulation/pause", (bool *)&holding);
instance->Tie("simulation/sim-time-sec", this, &FGFDMExec::GetSimTime);
instance->Tie("simulation/dt", this, &FGFDMExec::GetDeltaT);
instance->Tie("simulation/jsbsim-debug", this, &FGFDMExec::GetDebugLevel, &FGFDMExec::SetDebugLevel);
Expand Down
2 changes: 1 addition & 1 deletion src/FGFDMExec.h
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ class JSBSIM_API FGFDMExec : public FGJSBBase
unsigned int Frame;
unsigned int IdFDM;
int disperse;
unsigned short Terminate;
bool Terminate;
double dT;
double saved_dT;
double sim_time;
Expand Down

0 comments on commit 11f9d18

Please sign in to comment.