Skip to content

Commit

Permalink
Fix #192 override memory protection for spells
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Oct 16, 2018
1 parent d7772b0 commit 5a73598
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _work/data/Scripts/Content/GFA/_intern/init.d
Expand Up @@ -95,6 +95,7 @@ func void GFA_InitFeatureFreeAiming() {
HookEngineF(oCVisualFX__ProcessCollision_checkTarget, 6, GFA_SpellFixTarget); // Match target with collision
MemoryProtectionOverride(oCNpc__EV_Strafe_magicCombat, 5); // Disable magic during default strafing
HookEngineF(oCNpc__EV_Strafe_g2ctrl, 6, GFA_SpellStrafeReticle); // Update reticle while default strafing
MemoryProtectionOverride(oCAIHuman__MagicMode_g2ctrlCheck, 4); // Change Gothic 2 controls
};
};

Expand Down

0 comments on commit 5a73598

Please sign in to comment.