|
|
|
@ -170,7 +170,7 @@ namespace MWWorld
|
|
|
|
|
mSky (true), mCells (mStore, mEsm),
|
|
|
|
|
mActivationDistanceOverride (mActivationDistanceOverride),
|
|
|
|
|
mFallback(fallbackMap), mPlayIntro(0), mTeleportEnabled(true),
|
|
|
|
|
mFacedDistance(FLT_MAX)
|
|
|
|
|
mFacedDistance(FLT_MAX), mGodMode(false)
|
|
|
|
|
{
|
|
|
|
|
mPhysics = new PhysicsSystem(renderer);
|
|
|
|
|
mPhysEngine = mPhysics->getEngine();
|
|
|
|
@ -1948,9 +1948,16 @@ namespace MWWorld
|
|
|
|
|
stats.getSkill(ESM::Skill::Acrobatics).setModified(gmst.find("fWerewolfAcrobatics")->getFloat(), 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool World::getGodModeState()
|
|
|
|
|
{
|
|
|
|
|
return mGodMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool World::toggleGodMode()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
mGodMode = !mGodMode;
|
|
|
|
|
|
|
|
|
|
return mGodMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|