1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 11:39:40 +00:00

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)