Project

General

Profile

Bug #172 ยป 0041-Annotate-map_fractal_generate-fallthroughs.patch

Marko Lindqvist, 01/11/2024 06:37 AM

View differences:

server/generator/mapgen.c
case MAPSTARTPOS_DEFAULT:
case MAPSTARTPOS_VARIABLE:
log_verbose("Map generator chose startpos=SINGLE");
/* fallthrough */
fc__fallthrough;
case MAPSTARTPOS_SINGLE:
mode = MAPSTARTPOS_SINGLE;
break;
default:
log_verbose("Map generator chose startpos=2or3");
/* fallthrough */
fc__fallthrough;
case MAPSTARTPOS_2or3:
mode = MAPSTARTPOS_2or3;
break;
    (1-1/1)