mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-10 13:41:28 +00:00
Don't advance skills in werewolf mode (thanks Hrnchamd)
This commit is contained in:
parent
088d01d727
commit
62ab35881e
1 changed files with 3 additions and 0 deletions
|
@ -1127,6 +1127,9 @@ namespace MWClass
|
||||||
{
|
{
|
||||||
MWMechanics::NpcStats& stats = getNpcStats (ptr);
|
MWMechanics::NpcStats& stats = getNpcStats (ptr);
|
||||||
|
|
||||||
|
if (stats.isWerewolf())
|
||||||
|
return;
|
||||||
|
|
||||||
MWWorld::LiveCellRef<ESM::NPC> *ref = ptr.get<ESM::NPC>();
|
MWWorld::LiveCellRef<ESM::NPC> *ref = ptr.get<ESM::NPC>();
|
||||||
|
|
||||||
const ESM::Class *class_ =
|
const ESM::Class *class_ =
|
||||||
|
|
Loading…
Reference in a new issue