add mapgen debug info.
This commit is contained in:
parent
f69af8533a
commit
8e3ee5c597
1 changed files with 3 additions and 0 deletions
|
@ -353,6 +353,9 @@ height_map default_map_generator_job::generate_height_map(std::size_t width, std
|
|||
}
|
||||
}
|
||||
|
||||
LOG_NG << "generate_height_map"
|
||||
<< " lowest=" << lowest
|
||||
<< " highest =" << highest << " \n";
|
||||
// Normalize the heights to the range 0-1000:
|
||||
highest -= lowest;
|
||||
for(x = 0; std::size_t(x) != res.size(); ++x) {
|
||||
|
|
Loading…
Add table
Reference in a new issue