[Follow] Fix orbiting leader after follow sitting and standing up
This commit is contained in:
@@ -1734,8 +1734,7 @@ void LLAgent::stopAutoPilot(BOOL user_cancel)
|
|||||||
// Sit response during follow pilot, now complete, resume follow
|
// Sit response during follow pilot, now complete, resume follow
|
||||||
if (!user_cancel && mAutoPilotBehaviorName == "Sit" && mLeaderID.notNull())
|
if (!user_cancel && mAutoPilotBehaviorName == "Sit" && mLeaderID.notNull())
|
||||||
{
|
{
|
||||||
mAutoPilotBehaviorName = "Follow";
|
startFollowPilot(mLeaderID, true, gSavedSettings.getF32("SinguFollowDistance"));
|
||||||
mAutoPilot = true;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user