1
0
forked from 0ad/0ad

Add missing vertical heightmap scaling to _kali's new random map scripts.

This was SVN commit r18548.
This commit is contained in:
elexis 2016-07-22 18:26:53 +00:00
parent 9da74739d4
commit eaf0f88420

View File

@ -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)