diff options
author | leviathan <leviathan@lindenlab.com> | 2024-07-10 14:08:17 -0700 |
---|---|---|
committer | Andrew Meadows <andrew.l.meadows@gmail.com> | 2024-10-03 09:03:31 -0700 |
commit | e74ce9655ed9f1124887aa31aa2e2155ea62d3da (patch) | |
tree | 380255b5643254f174c74029cbf7079eab3c7c72 /indra/newview/llviewerinput.cpp | |
parent | e90913c4a926a006467661bb0d2db0a4bdb7a4b9 (diff) |
more correct AgentUpdate transmission logic
Diffstat (limited to 'indra/newview/llviewerinput.cpp')
-rw-r--r-- | indra/newview/llviewerinput.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp index 0bbf7a07b3..66042128f2 100644 --- a/indra/newview/llviewerinput.cpp +++ b/indra/newview/llviewerinput.cpp @@ -666,7 +666,6 @@ bool start_gesture( EKeystate s ) bool run_forward(EKeystate s) { - // HACK: we use AGENT_CONTROL_NUDGE_AT_POS to signify "run forward" if (KEYSTATE_UP != s) { if (gAgent.mDoubleTapRunMode != LLAgent::DOUBLETAP_FORWARD) @@ -692,7 +691,6 @@ bool run_forward(EKeystate s) bool run_backward(EKeystate s) { - // HACK: we use AGENT_CONTROL_NUDGE_AT_NEG to signify "run backward" if (KEYSTATE_UP != s) { if (gAgent.mDoubleTapRunMode != LLAgent::DOUBLETAP_BACKWARD) @@ -718,7 +716,6 @@ bool run_backward(EKeystate s) bool run_left(EKeystate s) { - // HACK: we use AGENT_CONTROL_NUDGE_LEFT_POS to signify "run left" if (KEYSTATE_UP != s) { if (gAgent.mDoubleTapRunMode != LLAgent::DOUBLETAP_SLIDELEFT) @@ -769,7 +766,6 @@ bool run_right(EKeystate s) bool toggle_run(EKeystate s) { - // HACK: we use AGENT_CONTROL_FAST_AT to signify "run button" if (KEYSTATE_DOWN != s) return true; bool run = gAgent.getAlwaysRun(); if (run) @@ -788,7 +784,6 @@ bool toggle_run(EKeystate s) bool toggle_sit(EKeystate s) { - // HACK: we use AGENT_CONTROL_SIT_ON_GROUND to signify "sit button" if (KEYSTATE_DOWN != s) return true; if (gAgent.isSitting()) { |