diff --git a/addons/main/script_macros.hpp b/addons/main/script_macros.hpp index ee8dc66220..814c46d24b 100644 --- a/addons/main/script_macros.hpp +++ b/addons/main/script_macros.hpp @@ -198,8 +198,8 @@ #define SETMVAR(var1,var2) missionNamespace SETVAR_SYS(var1,var2) #define SETUVAR(var1,var2) uiNamespace SETVAR_SYS(var1,var2) -#define GETVARD(var1,var2) GETMVAR(GVAR(var1),var2) -#define GETEVARD(var1,var2,var3) GETMVAR(EGVAR(var1,var2),var3) +#define GETGVAR(var1,var2) GETMVAR(GVAR(var1),var2) +#define GETEGVAR(var1,var2,var3) GETMVAR(EGVAR(var1,var2),var3) #ifdef DISABLE_COMPILE_CACHE diff --git a/addons/vector/functions/fnc_onKeyDown.sqf b/addons/vector/functions/fnc_onKeyDown.sqf index 5e6681011f..d27024cd9c 100644 --- a/addons/vector/functions/fnc_onKeyDown.sqf +++ b/addons/vector/functions/fnc_onKeyDown.sqf @@ -31,7 +31,7 @@ switch (_this select 0) do { GVAR(keyDownTimeAzimuth) = diag_tickTime; if (diag_tickTime > GVAR(keyDownTimeDistance) + 0.5) then { - if (GETVARD(isKeyDownDistance,false)) exitWith { + if (GETGVAR(isKeyDownDistance,false)) exitWith { hint "P1 relative distance mode"; }; @@ -56,7 +56,7 @@ switch (_this select 0) do { GVAR(keyDownTimeDistance) = diag_tickTime; if (diag_tickTime > GVAR(keyDownTimeAzimuth) + 0.5) then { - if (GETVARD(isKeyDownAzimuth,false)) exitWith { + if (GETGVAR(isKeyDownAzimuth,false)) exitWith { hint "P1 relative azimuth + non-slope distance mode"; }; diff --git a/extras/Vector_USMC.pdf b/extras/Vector_USMC.pdf new file mode 100644 index 0000000000..06b12d5def Binary files /dev/null and b/extras/Vector_USMC.pdf differ