diff --git a/src/FDM/YASim/Model.cpp b/src/FDM/YASim/Model.cpp index 3062986e0..d3ef8e95b 100644 --- a/src/FDM/YASim/Model.cpp +++ b/src/FDM/YASim/Model.cpp @@ -203,11 +203,6 @@ void Model::setGroundEffect(const float* pos, float span, float mul) _groundEffect = mul; } -void Model::setStandardAtmosphere(float altitude) -{ - _atmo.setStandard(altitude); -} - void Model::updateGround(State* s) { float dummy[3]; diff --git a/src/FDM/YASim/Model.hpp b/src/FDM/YASim/Model.hpp index eee142c22..00755b44d 100644 --- a/src/FDM/YASim/Model.hpp +++ b/src/FDM/YASim/Model.hpp @@ -70,7 +70,7 @@ public: void setGroundEffect(const float* pos, float span, float mul); void setWind(float* wind) { Math::set3(wind, _wind); } void setAtmosphere(Atmosphere a) { _atmo = a; }; - void setStandardAtmosphere(float altitude); + void setStandardAtmosphere(float altitude) { _atmo.setStandard(altitude); }; void updateGround(State* s);