Issue #68: fixed death detection

This commit is contained in:
Marc Zinnschlag 2012-10-25 12:22:48 +02:00
parent 9172c3ec4d
commit 0ab432b074

View file

@ -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;
}