Merge pull request #1096 from Allofich/magic

Don't let Weakness to Magicka affect paralysis
coverity_scan^2
scrawl 8 years ago committed by GitHub
commit 48f299532c

@ -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