Add missing vertical heightmap scaling to _kali's new random map scripts.
This was SVN commit r18548.
This commit is contained in:
parent
9da74739d4
commit
eaf0f88420
@ -1304,7 +1304,7 @@ function paintHeightmap(heightmap, tilemap, pallet, func = undefined)
|
||||
tile = pallet[tilemap[nearby[randInt(0, nearby.length - 1)]]];
|
||||
}
|
||||
|
||||
setHeight(x, y, height);
|
||||
setHeight(x, y, height / scale);
|
||||
placeTerrain(x, y, tile);
|
||||
|
||||
if (func)
|
||||
|
Loading…
Reference in New Issue
Block a user