diff options
author | Ansariel Hiller <ansarielhiller@yahoo.de> | 2019-11-09 15:07:32 +0000 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-06-23 14:50:04 +0300 |
commit | 3ae6b2484e8008e9b533c0e470ba24ee174325f7 (patch) | |
tree | 846e24a60e1c4709b1412069d8f9918ca700e86b /indra | |
parent | 9b218acc351cdd2eb06a9f87951314e0eb34daa9 (diff) |
Fix double-tab run right not working properly
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerinput.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp index 9f16b6a4d5..369db33642 100644 --- a/indra/newview/llviewerinput.cpp +++ b/indra/newview/llviewerinput.cpp @@ -732,11 +732,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) |