Skip to content

Commit

Permalink
Fix missing sign in G2 ctrl setting variable
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Mar 5, 2017
1 parent c95dff3 commit e774a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _work/data/Scripts/Content/freeAim/_intern/init.d
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e774a19

Please sign in to comment.