mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix long-standing typo (get it?)
This commit is contained in:
parent
8ad202b039
commit
8255ff666d
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user