From 843825246fd788632e24edefaaf9e82158755e65 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 7 Jan 2023 18:34:48 +0200 Subject: [PATCH 53/53] AI: Increase military emergency want indicator to 1000 This makes more space for non-emergency wants, so they aren't so often clipped and thus making it impossible to compare which one of such high wants is actually higher. See osdn #45277 Signed-off-by: Marko Lindqvist --- ai/default/daimilitary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/default/daimilitary.h b/ai/default/daimilitary.h index 9ccdcf6b31..6d17e9df14 100644 --- a/ai/default/daimilitary.h +++ b/ai/default/daimilitary.h @@ -31,8 +31,8 @@ struct civ_map; to finish them off. */ #define FINISH_HIM_CITY_COUNT 5 -#define DAI_WANT_BELOW_MIL_EMERGENCY 100 -#define DAI_WANT_MILITARY_EMERGENCY (DAI_WANT_BELOW_MIL_EMERGENCY + 1) +#define DAI_WANT_BELOW_MIL_EMERGENCY (1000.0) +#define DAI_WANT_MILITARY_EMERGENCY (DAI_WANT_BELOW_MIL_EMERGENCY + 0.1) typedef struct unit_list *(player_unit_list_getter)(struct player *pplayer); -- 2.39.0