add mapgen debug info.

This commit is contained in:
gfgtdf 2018-05-30 03:42:28 +02:00 committed by GitHub
parent 1977a9ad79
commit 43252e8191
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -354,6 +354,9 @@ height_map default_map_generator_job::generate_height_map(size_t width, size_t h
}
}
LOG_NG << "generate_height_map"
<< " lowest=" << lowest
<< " highest =" << highest << " \n";
// Normalize the heights to the range 0-1000:
highest -= lowest;
for(x = 0; size_t(x) != res.size(); ++x) {