mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-23 02:42:42 +00:00
Fix fortified skill not immediately updating on changing equipment
This commit is contained in:
parent
360c7f863c
commit
bcc79919a7
@ -1460,5 +1460,7 @@ namespace MWMechanics
|
|||||||
{
|
{
|
||||||
adjustMagicEffects(ptr);
|
adjustMagicEffects(ptr);
|
||||||
calculateCreatureStatModifiers(ptr, 0.f);
|
calculateCreatureStatModifiers(ptr, 0.f);
|
||||||
|
if (ptr.getClass().isNpc())
|
||||||
|
calculateNpcStatModifiers(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user