Merge pull request #981 from Allofich/magicka

Fix timing of some magicka calculations
pull/1/head
scrawl 9 years ago committed by GitHub
commit 528de956da

@ -532,6 +532,9 @@ namespace MWMechanics
creatureStats.setAttribute(i, stat); creatureStats.setAttribute(i, stat);
} }
if (creatureStats.needToRecalcDynamicStats())
calculateDynamicStats(ptr);
{ {
Spells & spells = creatureStats.getSpells(); Spells & spells = creatureStats.getSpells();
for (Spells::TIterator it = spells.begin(); it != spells.end(); ++it) for (Spells::TIterator it = spells.begin(); it != spells.end(); ++it)

Loading…
Cancel
Save