From 5020d03c780853af19a44ebdfca8ec3eda81e38f Mon Sep 17 00:00:00 2001 From: Allofich Date: Wed, 12 Apr 2017 22:52:52 +0900 Subject: [PATCH] Remove unnecessary line --- apps/openmw/mwmechanics/character.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index e8ad0dc1f..85749d947 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1771,8 +1771,6 @@ void CharacterController::update(float duration) float height = cls.getCreatureStats(mPtr).land(); float healthLost = getFallDamage(mPtr, height); - bool godmode = mPtr == MWMechanics::getPlayer() && MWBase::Environment::get().getWorld()->getGodModeState(); - if (healthLost > 0.0f) { const float fatigueTerm = cls.getCreatureStats(mPtr).getFatigueTerm();