mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +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);
|
||||
|
||||
if (stats.isWerewolf())
|
||||
return;
|
||||
|
||||
MWWorld::LiveCellRef<ESM::NPC> *ref = ptr.get<ESM::NPC>();
|
||||
|
||||
const ESM::Class *class_ =
|
||||
|
|
Loading…
Reference in a new issue