mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
remove book skill gain
This commit is contained in:
parent
3e5ab069a6
commit
9cf1cbc89b
@ -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…
x
Reference in New Issue
Block a user