mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 16:45:17 -04: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());
|
MWBase::Environment::get().getWindowManager()->getBookWindow()->open(getTarget());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
// Skill gain from books
|
||||||
if (ref->base->data.skillID >= 0 && ref->base->data.skillID < ESM::Skill::Length)
|
if (ref->base->data.skillID >= 0 && ref->base->data.skillID < ESM::Skill::Length)
|
||||||
{
|
{
|
||||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld ()->getPlayer().getPlayer();
|
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
|
/// \todo Remove skill from the book. Right now you can read as many times as you want
|
||||||
/// and the skill will still increase.
|
/// and the skill will still increase.
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user