Fix double-tab run right not working properly

meow-7.2.2
Ansariel Hiller 2019-11-09 15:07:32 +00:00
parent 8ca7255729
commit 27808b4d64
1 changed files with 5 additions and 5 deletions

View File

@ -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)