mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
Give 100% of health back when Resurrecting an actor (Fixes #1877)
This commit is contained in:
parent
319f4e0547
commit
8625764143
@ -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…
x
Reference in New Issue
Block a user