[Client] Fix logic for setting applyProjectileEnchantment in attack sync

This commit is contained in:
David Cernat 2018-09-09 22:33:48 +03:00
parent 8012d0d7b7
commit c9ad411dd3

View file

@ -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)
*/