mapgenerator: add debug info

This commit is contained in:
gfgtdf 2018-10-10 20:13:52 +02:00
parent 2d5382f54c
commit 18edca91c6

View file

@ -974,7 +974,7 @@ std::string default_map_generator_job::default_generate_map(generator_data data,
}
if(best_ranking == 0) {
ERR_NG << "No castle location found, aborting." << std::endl;
ERR_NG << "No castle location found, for " << data.nplayers << " players aborting. " << std::endl;
const std::string error = _("No valid castle location found. Too many or too few mountain hexes? (please check the 'max hill size' parameter)");
throw mapgen_exception(error);
}