mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:45:34 +00:00
Merge remote-tracking branch 'miroslavr/master'
This commit is contained in:
commit
64b88172af
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ namespace MWMechanics
|
||||||
if (index==0 && mDynamic[index].getCurrent()<1)
|
if (index==0 && mDynamic[index].getCurrent()<1)
|
||||||
{
|
{
|
||||||
mDead = true;
|
mDead = true;
|
||||||
|
|
||||||
|
mDynamic[index].setModifier(0);
|
||||||
mDynamic[index].setCurrent(0);
|
mDynamic[index].setCurrent(0);
|
||||||
|
|
||||||
if (MWBase::Environment::get().getWorld()->getGodModeState())
|
if (MWBase::Environment::get().getWorld()->getGodModeState())
|
||||||
|
|
Loading…
Reference in a new issue