From 9cf9733850d1659694b4178c9d1ad48aaf6f4060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Thu, 15 Jan 2015 17:15:39 -0300 Subject: [PATCH] interaction: fixed the modifier key --- addons/interaction/XEH_clientInit.sqf | 2 ++ addons/interaction/config.cpp | 7 ++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/addons/interaction/XEH_clientInit.sqf b/addons/interaction/XEH_clientInit.sqf index 7b64310037..2e762156eb 100644 --- a/addons/interaction/XEH_clientInit.sqf +++ b/addons/interaction/XEH_clientInit.sqf @@ -2,6 +2,8 @@ #include "script_component.hpp" +ACE_Modifier = 0; + if (!hasInterface) exitWith {}; GVAR(isOpeningDoor) = false; diff --git a/addons/interaction/config.cpp b/addons/interaction/config.cpp index 0aa4c390f2..7cea7a63d9 100644 --- a/addons/interaction/config.cpp +++ b/addons/interaction/config.cpp @@ -68,9 +68,9 @@ class ACE_Default_Keys { class modifierKey { displayName = "$STR_ACE_Interaction_ModifierKey"; condition = ""; - statement = QUOTE(GVAR(Modifier) = 1;); + statement = QUOTE(ACE_Modifier = 1;); conditionUp = ""; - statementUp = QUOTE(GVAR(Modifier) = 0;); + statementUp = QUOTE(ACE_Modifier = 0;); exceptions[] = {"ACE_Drag_isNotDragging"}; key = 29; shift = 0; @@ -94,9 +94,6 @@ class ACE_Options { }; }; -class ACE_Parameters { - ACE_Modifier = 0; -}; class ACE_Parameters_Boolean { ACE_Interaction_EnableTeamManagement = 1; };