mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 16:29:55 +00:00
Initialize mSpecIncreases in ESM::NpcStats::load
This commit is contained in:
parent
0db3af1b89
commit
b99611a730
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ void ESM::NpcStats::load (ESMReader &esm)
|
|||
|
||||
esm.getHNT (mSkillIncrease, "INCR");
|
||||
|
||||
for (int i=0; i<3; ++i)
|
||||
mSpecIncreases[i] = 0;
|
||||
esm.getHNOT (mSpecIncreases, "SPEC");
|
||||
|
||||
while (esm.isNextSub ("USED"))
|
||||
|
|
Loading…
Reference in a new issue