Don't let Weakness to Magicka affect paralysis

coverity_scan^2
Allofich 8 years ago
parent 37bfa88b2d
commit f6f16b68de

@ -356,8 +356,7 @@ short MagicEffect::getWeaknessEffect(short effect)
effects[Corprus] = WeaknessToCorprusDisease;
effects[Poison] = WeaknessToPoison;
// Weakness to magicka or -1 ?
effects[Paralyze] = WeaknessToMagicka;
effects[Paralyze] = -1;
if (effects.find(effect) != effects.end())
return effects[effect];

Loading…
Cancel
Save