From e483f06e0feccf5aa62fdc4b5eeb5da45292920c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zieli=C5=84ski?= Date: Sun, 16 Jul 2023 08:23:37 +0200 Subject: [PATCH] Remove unused variable --- AI/Nullkiller/Engine/PriorityEvaluator.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/AI/Nullkiller/Engine/PriorityEvaluator.cpp b/AI/Nullkiller/Engine/PriorityEvaluator.cpp index e3b66256c..cb492f7f6 100644 --- a/AI/Nullkiller/Engine/PriorityEvaluator.cpp +++ b/AI/Nullkiller/Engine/PriorityEvaluator.cpp @@ -316,8 +316,6 @@ uint64_t RewardEvaluator::getArmyGrowth( const CGHeroInstance * hero, const CCreatureSet * army) const { - const float enemyArmyEliminationRewardRatio = 0.5f; - if(!target) return 0;