summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAnsariel Hiller <ansarielhiller@yahoo.de>2019-11-09 15:07:32 +0000
committerAnsariel Hiller <ansarielhiller@yahoo.de>2019-11-09 15:07:32 +0000
commit27808b4d64306e1850c15ab25d11ef80cc5ca817 (patch)
treebaff5d527a1d98a65597ecff9ebe0f1b75c8f411 /indra
parent8ca72557291b71853618a4e16f5ab193284c0e95 (diff)
Fix double-tab run right not working properly
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerinput.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp
index eaad5ab632..a267678bb3 100644
--- a/indra/newview/llviewerinput.cpp
+++ b/indra/newview/llviewerinput.cpp
@@ -730,11 +730,11 @@ bool run_right(EKeystate s)
if (gAgent.mDoubleTapRunMode != LLAgent::DOUBLETAP_SLIDERIGHT)
{
gAgent.mDoubleTapRunMode = LLAgent::DOUBLETAP_SLIDERIGHT;
- if (!gAgent.getRunning())
- {
- gAgent.setRunning();
- gAgent.sendWalkRun(true);
- }
+ }
+ if (!gAgent.getRunning())
+ {
+ gAgent.setRunning();
+ gAgent.sendWalkRun(true);
}
}
else if (KEYSTATE_UP == s)