From 00402b71545c0957eb91cf2cc5c87320c3503111 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sun, 4 Jun 2017 14:09:23 +0400 Subject: [PATCH] Removed unused variable --- apps/openmw/mwmechanics/aicombataction.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/openmw/mwmechanics/aicombataction.cpp b/apps/openmw/mwmechanics/aicombataction.cpp index 1acf2f041..37b67c9b2 100644 --- a/apps/openmw/mwmechanics/aicombataction.cpp +++ b/apps/openmw/mwmechanics/aicombataction.cpp @@ -435,8 +435,6 @@ namespace MWMechanics if (diff <= 0) return 0.f; - int magnitude = (effect.mMagnMin + effect.mMagnMax) / 2; - rating *= (diff) / 5.f; break;