1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 21:40:42 +00:00

remove book skill gain

This commit is contained in:
scrawl 2012-09-15 20:03:53 +02:00
parent 3e5ab069a6
commit 9cf1cbc89b

View File

@ -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.
}
*/
}
}