forked from mirror/openmw-tes3mp
Update actionread.cpp
*grrr* Forgot to change the latter "mSkillID" in line 47...
This commit is contained in:
parent
b4ef9e2314
commit
c46eadae90
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace MWWorld
|
||||||
MWMechanics::NpcStats& npcStats = actor.getClass().getNpcStats (actor);
|
MWMechanics::NpcStats& npcStats = actor.getClass().getNpcStats (actor);
|
||||||
|
|
||||||
// Skill gain from books
|
// Skill gain from books
|
||||||
if (ref->mBase->mData.mSkillId >= 0 && ref->mBase->mData.mSkillID < ESM::Skill::Length
|
if (ref->mBase->mData.mSkillId >= 0 && ref->mBase->mData.mSkillId < ESM::Skill::Length
|
||||||
&& !npcStats.hasBeenUsed (ref->mBase->mId))
|
&& !npcStats.hasBeenUsed (ref->mBase->mId))
|
||||||
{
|
{
|
||||||
MWWorld::LiveCellRef<ESM::NPC> *playerRef = actor.get<ESM::NPC>();
|
MWWorld::LiveCellRef<ESM::NPC> *playerRef = actor.get<ESM::NPC>();
|
||||||
|
|
Loading…
Reference in a new issue