mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:23:51 +00:00
Fix calculateNpcStatModifiers call for non-NPCs
This commit is contained in:
parent
79e7155f50
commit
99e89f23a6
1 changed files with 2 additions and 1 deletions
|
@ -1871,6 +1871,7 @@ namespace MWMechanics
|
|||
|
||||
// Reset dynamic stats, attributes and skills
|
||||
calculateCreatureStatModifiers(iter->first, 0);
|
||||
if (iter->first.getClass().isNpc())
|
||||
calculateNpcStatModifiers(iter->first, 0);
|
||||
|
||||
if( iter->first == getPlayer())
|
||||
|
|
Loading…
Reference in a new issue