Fix double-tab run right not working properly
parent
8ca7255729
commit
27808b4d64
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue