mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
Merge pull request #981 from Allofich/magicka
Fix timing of some magicka calculations
This commit is contained in:
commit
528de956da
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue