forked from mirror/openmw-tes3mp
Give 100% of health back when Resurrecting an actor (Fixes #1877)
This commit is contained in:
parent
319f4e0547
commit
8625764143
1 changed files with 1 additions and 5 deletions
|
@ -270,11 +270,7 @@ namespace MWMechanics
|
|||
{
|
||||
if (mDead)
|
||||
{
|
||||
if (mDynamic[0].getCurrent()<1)
|
||||
{
|
||||
mDynamic[0].setModified(mDynamic[0].getModified(), 1);
|
||||
mDynamic[0].setCurrent(1);
|
||||
}
|
||||
mDynamic[0].setCurrent(mDynamic[0].getModified());
|
||||
if (mDynamic[0].getCurrent()>=1)
|
||||
mDead = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue