mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 13:27:59 +03: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…
Add table
Add a link
Reference in a new issue