Account for the maximum height when converting heightmaps
commit5bed40dbbc78b2dc24c0bfc70896f8b641478f09
authorrubidium <rubidium@openttd.org>
Sun, 21 Sep 2014 18:29:18 +0000 (21 18:29 +0000)
committercirdan <cirdansw@gmail.com>
Sat, 18 Oct 2014 14:59:01 +0000 (18 16:59 +0200)
treeabcf38759ad2b13a3ba506cffabe866f8bc449e4
parentc0711e9832eedfd9c584c637c48024072c1a834c
Account for the maximum height when converting heightmaps

(openttd r26905) -Change: account for the maximum map height when
converting heightmaps

(openttd r26984) -Fix (r26905) [FS#6134]: Heightlevels must be
scaled by number of intervals, not by the value of the highest
interval. Otherwise the highest interval becomes non-proportionally
small.
src/heightmap.cpp