[Follow] Fly if we aren't rendering the avatar

This commit is contained in:
Liru Færs
2020-01-16 17:40:50 -05:00
parent 910a5557ab
commit 3747d79143

View File

@@ -1828,7 +1828,7 @@ void LLAgent::autoPilot(F32 *delta_yaw)
standUp(); // Leader not rendered, we mustn't be sitting
mAutoPilotNoProgressFrameCount = 0; // Ground Sit may have incremented this, reset it
mAutoPilotTargetGlobal = pos;
// Should we fly if the height difference is great enough here? Altitude is often invalid...
setFlying(true); // Should we fly here? Altitude is often invalid...
}
if (dist_vec(mAutoPilotTargetGlobal, getPositionGlobal()) <= mAutoPilotStopDistance)