forked from mirror/openmw-tes3mp
Merge pull request #1255 from akortunov/manafix
Fixed magicka calculation on chargen (bug #3694)
This commit is contained in:
commit
26e48a0695
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ namespace MWMechanics
|
||||||
MWMechanics::CreatureStats& creatureStats = ptr.getClass().getCreatureStats (ptr);
|
MWMechanics::CreatureStats& creatureStats = ptr.getClass().getCreatureStats (ptr);
|
||||||
MWMechanics::NpcStats& npcStats = ptr.getClass().getNpcStats (ptr);
|
MWMechanics::NpcStats& npcStats = ptr.getClass().getNpcStats (ptr);
|
||||||
|
|
||||||
|
npcStats.setNeedRecalcDynamicStats(true);
|
||||||
|
|
||||||
const ESM::NPC *player = ptr.get<ESM::NPC>()->mBase;
|
const ESM::NPC *player = ptr.get<ESM::NPC>()->mBase;
|
||||||
|
|
||||||
// reset
|
// reset
|
||||||
|
|
Loading…
Reference in a new issue