From 859f4fb89a1ddcf2296207c97d00548bc87a1b65 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 16 Apr 2021 06:22:39 +0300 Subject: [PATCH 58/58] Drop rscompat code for effects nreqs requirements See osdn #41977 Signed-off-by: Marko Lindqvist --- server/ruleset.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/server/ruleset.c b/server/ruleset.c index 8f892bb05b..af258b2ae3 100644 --- a/server/ruleset.c +++ b/server/ruleset.c @@ -5904,17 +5904,6 @@ static bool load_ruleset_effects(struct section_file *file, effect_req_append(peffect, *preq); } requirement_vector_iterate_end; - if (compat->compat_mode) { - reqs = lookup_req_list(file, compat, sec_name, "nreqs", type); - if (reqs == NULL) { - ok = FALSE; - break; - } - requirement_vector_iterate(reqs, preq) { - preq->present = !preq->present; - effect_req_append(peffect, *preq); - } requirement_vector_iterate_end; - } } section_list_iterate_end; section_list_destroy(sec); -- 2.30.2