--- ../freeciv-cvs-May-06/freeciv/server/maphand.c Sat May 6 15:10:56 2000 +++ server/maphand.c Sun May 7 01:11:19 2000 @@ -476,13 +476,20 @@ map.start_positions[i].y = secfile_lookup_int(file, "map.r%dsy", i); i++; } - map.num_start_positions = i; - if (map.num_start_positions < MAX_NUM_PLAYERS) { - freelog(LOG_FATAL, _("Too few starts %d (need at least %d)."), - map.num_start_positions, MAX_NUM_PLAYERS); - exit(1); + if (i < MAX_NUM_PLAYERS) { + freelog(LOG_FATAL, _("Too few starts %d (need at least %d)." + " Filling out with 0,0 start positions."), + i, MAX_NUM_PLAYERS); } + + while (i < MAX_NUM_PLAYERS) { + map.start_positions[i].x = 0; + map.start_positions[i].y = 0; + i++; + } + + map.num_start_positions = i; /* I really hope i is MAX_NUM_PLAYERS :) */ } /***************************************************************