1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 01:19:59 +00:00

added god mode comment

This commit is contained in:
mckibbenta 2013-09-15 16:12:59 -04:00
parent 3035675a26
commit 6bb6ba6372

View File

@ -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());