Fix for Issue 694, use gSavedSettings instead of restricting globals.

Removes gAllowTapTapHoldRun and not much else we may want to remove a few more in the future, though.
This commit is contained in:
Lirusaito
2013-03-12 01:04:09 -04:00
parent 06a73061ce
commit ca71bf00c2
4 changed files with 6 additions and 28 deletions

View File

@@ -117,7 +117,7 @@ static void agent_handle_doubletap_run(EKeystate s, LLAgent::EDoubleTapRunMode m
gAgent.clearTempRun();
// [/RLVa:KB]
}
else if (gAllowTapTapHoldRun &&
else if (gSavedSettings.getBOOL("AllowTapTapHoldRun") &&
KEYSTATE_DOWN == s &&
!gAgent.getRunning())
{