1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 08:15:35 +00:00

Fix fortified skill not immediately updating on changing equipment

This commit is contained in:
scrawl 2014-08-17 05:42:52 +02:00
parent 360c7f863c
commit bcc79919a7

View file

@ -1460,5 +1460,7 @@ namespace MWMechanics
{
adjustMagicEffects(ptr);
calculateCreatureStatModifiers(ptr, 0.f);
if (ptr.getClass().isNpc())
calculateNpcStatModifiers(ptr);
}
}