From bcc79919a71840ffd28f74df949ffe33524fa2cc Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 17 Aug 2014 05:42:52 +0200 Subject: [PATCH] Fix fortified skill not immediately updating on changing equipment --- apps/openmw/mwmechanics/actors.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwmechanics/actors.cpp b/apps/openmw/mwmechanics/actors.cpp index f2e9c7492e..fbc840df82 100644 --- a/apps/openmw/mwmechanics/actors.cpp +++ b/apps/openmw/mwmechanics/actors.cpp @@ -1460,5 +1460,7 @@ namespace MWMechanics { adjustMagicEffects(ptr); calculateCreatureStatModifiers(ptr, 0.f); + if (ptr.getClass().isNpc()) + calculateNpcStatModifiers(ptr); } }