Fix long-standing typo (get it?)

This commit is contained in:
VKing 2015-04-05 22:18:28 +02:00
parent 8ad202b039
commit 8255ff666d
6 changed files with 9 additions and 9 deletions

View File

@ -18,7 +18,7 @@ PREP(getHeightDistance);
PREP(getRelativeAzimuthDistance);
PREP(getRelativeDistance);
PREP(getRelativeHeightLength);
PREP(getFallOfShort);
PREP(getFallOfShot);
PREP(showAzimuth);
PREP(showAzimuthInclination);
PREP(showHeightDistance);
@ -26,7 +26,7 @@ PREP(showDistance);
PREP(showRelativeAzimuthDistance);
PREP(showRelativeDistance);
PREP(showRelativeHeightLength);
PREP(showFallOfShort);
PREP(showFallOfShot);
PREP(showText);
PREP(nextMode);
PREP(adjustBrightness);

View File

@ -128,11 +128,11 @@ switch (_this select 0) do {
};
// prevent additinal modifier input if advanced mode it set, spaghetti
if (GETGVAR(isKeyDownAzimuth,false) && {GETGVAR(currentMode,"") in ["relative_azimuth+distance", "fall_of_short"]}) exitWith {};
if (GETGVAR(isKeyDownAzimuth,false) && {GETGVAR(currentMode,"") in ["relative_azimuth+distance", "fall_of_shot"]}) exitWith {};
// toggle fos values
if (GETGVAR(currentMode,"") == "fall_of_short") exitWith {
[!(GETGVAR(FOSState,true))] call FUNC(showFallOfShort);
if (GETGVAR(currentMode,"") == "fall_of_shot") exitWith {
[!(GETGVAR(FOSState,true))] call FUNC(showFallOfShot);
};
["distance"] call FUNC(clearDisplay);

View File

@ -198,7 +198,7 @@ switch (_this select 0) do {
};
case ("fall_of_short"): {
case ("fall_of_shot"): {
private "_isReady";
_isReady = diag_tickTime > GVAR(keyDownTimeDistance) + 0.5;
@ -207,8 +207,8 @@ switch (_this select 0) do {
if (!GVAR(isKeyDownAzimuth) && {!GVAR(isKeyDownDistance)}) then {
if (_isReady) then {
GVAR(FOSData) = call FUNC(getFallOfShort);//
[false] call FUNC(showFallOfShort);
GVAR(FOSData) = call FUNC(getFallOfShot);//
[false] call FUNC(showFallOfShot);
};
[false] call FUNC(showCenter);
[false] call FUNC(showP1);

View File

@ -65,7 +65,7 @@ switch (_this select 0) do {
["distance"] call FUNC(clearDisplay);
[true] call FUNC(showP1);
GVAR(pData) = [call FUNC(getDistance), call FUNC(getDirection)];
"fall_of_short" call _fnc_setPFH;
"fall_of_shot" call _fnc_setPFH;
};
};