From 2290346296aed8f280e0382c6f29c5f5d7eb3c42 Mon Sep 17 00:00:00 2001 From: Allofich Date: Thu, 30 Jun 2016 02:20:27 +0900 Subject: [PATCH] Fix timing of some magicka calculations --- apps/openmw/mwmechanics/actors.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwmechanics/actors.cpp b/apps/openmw/mwmechanics/actors.cpp index f28e2cc52..f27bb312a 100644 --- a/apps/openmw/mwmechanics/actors.cpp +++ b/apps/openmw/mwmechanics/actors.cpp @@ -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)