summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-03-28 18:55:48 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-03-28 18:55:48 +0200
commita4d62051b19d413110c7fb2dafd3414527286a0c (patch)
tree85cd9b7ddf17a241b37d90025d223a17adead05a /indra/newview/llviewermenu.cpp
parent9ef117b1fd38dd4e737f8f585f4b1baf438f5788 (diff)
SL-10655 Fixed 'Sit on ground' occasionally failing
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index ba68ce4cf4..aa6d75f5fb 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -4066,10 +4066,8 @@ void near_sit_down_point(BOOL success, void *)
if (success)
{
gAgent.setFlying(FALSE);
+ gAgent.clearControlFlags(AGENT_CONTROL_STAND_UP); // might have been set by autopilot
gAgent.setControlFlags(AGENT_CONTROL_SIT_ON_GROUND);
-
- // Might be first sit
- //LLFirstUse::useSit();
}
}