From 86257641436eab26832b6e6e961220d545923849 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 13 Sep 2014 20:50:49 +0200 Subject: [PATCH] Give 100% of health back when Resurrecting an actor (Fixes #1877) --- apps/openmw/mwmechanics/creaturestats.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/openmw/mwmechanics/creaturestats.cpp b/apps/openmw/mwmechanics/creaturestats.cpp index 7a2ece6cad..2c3f867f93 100644 --- a/apps/openmw/mwmechanics/creaturestats.cpp +++ b/apps/openmw/mwmechanics/creaturestats.cpp @@ -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; }