mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Merge pull request #981 from Allofich/magicka
Fix timing of some magicka calculations
This commit is contained in:
commit
528de956da
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user