mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 18:39:59 +00:00
Don't advance skills in werewolf mode (thanks Hrnchamd)
This commit is contained in:
parent
088d01d727
commit
62ab35881e
@ -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…
x
Reference in New Issue
Block a user