Reset health modifier when actor dies (Fixes #2330)

openmw-35
MiroslavR 10 years ago
parent 82ff737c31
commit ee8f88fc42

@ -196,6 +196,8 @@ namespace MWMechanics
if (index==0 && mDynamic[index].getCurrent()<1)
{
mDead = true;
mDynamic[index].setModifier(0);
mDynamic[index].setCurrent(0);
if (MWBase::Environment::get().getWorld()->getGodModeState())

Loading…
Cancel
Save