Skip to content

Commit

Permalink
mapgenerator: add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 20, 2018
1 parent 2d5382f commit 18edca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/default_map_generator_job.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 18edca9

Please sign in to comment.