forked from teamnwah/openmw-tes3coop
remove book skill gain
This commit is contained in:
parent
3e5ab069a6
commit
9cf1cbc89b
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,8 @@ namespace MWWorld
|
|||
MWBase::Environment::get().getWindowManager()->getBookWindow()->open(getTarget());
|
||||
}
|
||||
|
||||
/*
|
||||
// Skill gain from books
|
||||
if (ref->base->data.skillID >= 0 && ref->base->data.skillID < ESM::Skill::Length)
|
||||
{
|
||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld ()->getPlayer().getPlayer();
|
||||
|
@ -48,6 +50,7 @@ namespace MWWorld
|
|||
/// \todo Remove skill from the book. Right now you can read as many times as you want
|
||||
/// and the skill will still increase.
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue