Fix timing of some magicka calculations

This commit is contained in:
Allofich 2016-06-30 02:20:27 +09:00
parent fc293aa048
commit 2290346296

View file

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