From 3ae6b2484e8008e9b533c0e470ba24ee174325f7 Mon Sep 17 00:00:00 2001 From: Ansariel Hiller Date: Sat, 9 Nov 2019 15:07:32 +0000 Subject: Fix double-tab run right not working properly --- indra/newview/llviewerinput.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indra') 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) -- cgit v1.2.3