From e774a19bc1c5549994aa904932144fa48fc07339 Mon Sep 17 00:00:00 2001 From: szapp Date: Sun, 5 Mar 2017 22:32:16 +0100 Subject: [PATCH] Fix missing sign in G2 ctrl setting variable --- _work/data/Scripts/Content/freeAim/_intern/init.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_work/data/Scripts/Content/freeAim/_intern/init.d b/_work/data/Scripts/Content/freeAim/_intern/init.d index f6ef9b0..224eb77 100644 --- a/_work/data/Scripts/Content/freeAim/_intern/init.d +++ b/_work/data/Scripts/Content/freeAim/_intern/init.d @@ -191,7 +191,7 @@ func int freeAimIsActive() { || (keyStateAiming2 == KEY_PRESSED) || (keyStateAiming2 == KEY_HOLD); // Pressing or holding the aiming key if (Npc_IsInFightMode(hero, FMODE_MAGIC)) { if (FREEAIM_DISABLE_SPELLS) { return 0; }; // If free aiming for spells is disabled - if (FREEAIM_G2CTRL_PREVFRAME == 1) && (!keyPressed) { return 0; }; // G1 controls require action key + if (FREEAIM_G2CTRL_PREVFRAME == -1) && (!keyPressed) { return 0; }; // G1 controls require action key var C_Spell spell; spell = freeAimGetActiveSpellInst(hero); if (!freeAimSpellEligible(spell)) { // Check if the active spell supports free aiming if (FREEAIM_FOCUS_SPELL_FREE != -1) {