mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 18:36:43 +00:00
added god mode comment
This commit is contained in:
parent
3035675a26
commit
6bb6ba6372
1 changed files with 1 additions and 0 deletions
|
@ -275,6 +275,7 @@ namespace MWMechanics
|
||||||
continue;
|
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())
|
if(iter->first.getRefData().getHandle()=="player" && MWBase::Environment::get().getWorld()->getGodModeState())
|
||||||
{
|
{
|
||||||
MWMechanics::DynamicStat<float> stat(stats.getHealth());
|
MWMechanics::DynamicStat<float> stat(stats.getHealth());
|
||||||
|
|
Loading…
Reference in a new issue