[Client] Fix logic for setting applyProjectileEnchantment in attack sync

remotes/1728160796594174844/tmp_0.7.0-alpha
David Cernat 6 years ago
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…
Cancel
Save