mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:45:36 +00:00
Fix fortified skill not immediately updating on changing equipment
This commit is contained in:
parent
360c7f863c
commit
bcc79919a7
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue