mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
[Client] Fix logic for setting applyProjectileEnchantment in attack sync
This commit is contained in:
parent
8012d0d7b7
commit
c9ad411dd3
@ -320,10 +320,12 @@ namespace MWMechanics
|
||||
localAttack->applyWeaponEnchantment = appliedEnchantment;
|
||||
|
||||
if (weapon != projectile)
|
||||
{
|
||||
appliedEnchantment = applyOnStrikeEnchantment(attacker, victim, projectile, hitPosition, true);
|
||||
|
||||
if (localAttack)
|
||||
localAttack->applyProjectileEnchantment = appliedEnchantment;
|
||||
if (localAttack)
|
||||
localAttack->applyProjectileEnchantment = appliedEnchantment;
|
||||
}
|
||||
/*
|
||||
End of tes3mp change (minor)
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user