mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
Issue #68: fixed death detection
This commit is contained in:
parent
9172c3ec4d
commit
0ab432b074
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ namespace MWMechanics
|
|||
|
||||
mDynamic[index] = value;
|
||||
|
||||
if (index==2 && mDynamic[index].getCurrent()<1)
|
||||
if (index==0 && mDynamic[index].getCurrent()<1)
|
||||
mDead = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue