From 1b98786d129f597543515f30ec074cc18dceaa0b Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 21 May 2021 15:07:46 +0300 Subject: [PATCH 57/57] AI: Set H_RATES for Hard and Experimental difficulty levels Requested by alain_bkr See osdn #42333 Signed-off-by: Marko Lindqvist --- ai/difficulty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ai/difficulty.c b/ai/difficulty.c index 82b1b6edb4..29d7bd05d3 100644 --- a/ai/difficulty.c +++ b/ai/difficulty.c @@ -118,15 +118,15 @@ static bv_handicap handicap_of_skill_level(enum ai_level level) #ifdef FREECIV_DEBUG case AI_LEVEL_EXPERIMENTAL: + /* H_EXPERIMENTAL + whatever Hard has */ BV_SET(handicap, H_EXPERIMENTAL); - break; + fc__fallthrough; /* Falling through to hard */ #endif /* FREECIV_DEBUG */ case AI_LEVEL_CHEATING: - BV_SET(handicap, H_RATES); - break; case AI_LEVEL_HARD: - /* No handicaps */ + /* No actual handicaps */ + BV_SET(handicap, H_RATES); break; case AI_LEVEL_COUNT: fc_assert(level != AI_LEVEL_COUNT); -- 2.30.2