add mapgen debug info.
This commit is contained in:
parent
1977a9ad79
commit
43252e8191
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue