diff --git a/libraries/AP_HAL_SITL/SITL_State.cpp b/libraries/AP_HAL_SITL/SITL_State.cpp index 7f9eed303e..d07d3759ae 100644 --- a/libraries/AP_HAL_SITL/SITL_State.cpp +++ b/libraries/AP_HAL_SITL/SITL_State.cpp @@ -399,10 +399,6 @@ void SITL_State::_simulator_servos(struct sitl_input &input) // never allow negative wind velocity wind_speed = MAX(wind_speed, 0); } - - if (altitude < 0) { - altitude = 0; - } input.wind.speed = wind_speed; input.wind.direction = wind_direction;