|
|
|
@ -275,6 +275,7 @@ namespace MWMechanics
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// If it's the player and God Mode is turned on, keep it alive
|
|
|
|
|
if(iter->first.getRefData().getHandle()=="player" && MWBase::Environment::get().getWorld()->getGodModeState())
|
|
|
|
|
{
|
|
|
|
|
MWMechanics::DynamicStat<float> stat(stats.getHealth());
|
|
|
|
|