mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 20:29:57 +00:00
fixed a bug in class-part of setting initial skills
This commit is contained in:
parent
283e0df3a0
commit
19fdd48f75
1 changed files with 2 additions and 3 deletions
|
@ -57,12 +57,11 @@ namespace MWMechanics
|
|||
|
||||
if (index>=0 && index<27)
|
||||
{
|
||||
npcStats.mSkill[i].setBase (
|
||||
npcStats.mSkill[i].getBase() + race->data.bonus[i].bonus);
|
||||
npcStats.mSkill[index].setBase (
|
||||
npcStats.mSkill[index].getBase() + race->data.bonus[i].bonus);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// birthsign
|
||||
|
||||
// class
|
||||
|
|
Loading…
Reference in a new issue