summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-07-13 17:45:06 -0400
committerOz Linden <oz@lindenlab.com>2011-07-13 17:45:06 -0400
commit4d432251e44b4e6377d0edb45a83404e848155a3 (patch)
tree4b5117c0d6659fd767caaf56f0d27c689e6a0444 /indra
parent1f369cad59c1c2d5bfcf155ef86c887b1b40a0db (diff)
parenta6a0d5dda70de972ca1e386534284e2e93f29903 (diff)
merge changes for storm-1507
Diffstat (limited to 'indra')
-rwxr-xr-x[-rw-r--r--]indra/newview/llagent.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 8954937f69..492cfe7c1b 100644..100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -577,7 +577,10 @@ void LLAgent::setFlying(BOOL fly)
// static
void LLAgent::toggleFlying()
{
- LLToolPie::instance().stopClickToWalk();
+ if ( gAgent.mAutoPilot )
+ {
+ LLToolPie::instance().stopClickToWalk();
+ }
BOOL fly = !gAgent.getFlying();