News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

fix graphical glitches on earth borders

Started by k47, December 08, 2025, 01:21:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

k47

When I lower ground too much, graphical glitches on earth border start to appear, caused by the fact that some areas are not painted properly. In function grund_t::display_border we are using world::get_groundwater() to determine minimal height, but that doesn't seems to change when digging. This patch replaces that with min_height.