summaryrefslogtreecommitdiff
path: root/media/openttd.16.png
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-10 13:39:03 +0100
committerGitHub <noreply@github.com>2021-03-10 13:39:03 +0100
commit098d5b22395e123e4990b73a2ad7bf703adf068b (patch)
tree74d932a0fb268851e90693a1fc9ee64f8dbc4f70 /media/openttd.16.png
parent160a5f2fdda791f24b6b8ed990ac0285f193cd5a (diff)
downloadopenttd-098d5b22395e123e4990b73a2ad7bf703adf068b.tar.xz
Fix #8711: having gui_zoom lower than zoom_min causes crashes (#8835)
gui_zoom was never clamp'd between zoom_min/zoom_max. zoom_min controls how zoomed-in we load sprites. For a value of 1, no quad-sizes sprites are loaded. If gui_zoom would be 0, meaning it wants quad-sized sprites to display, it was printing random stuff to the screen, which could or could not result in crashes.
Diffstat (limited to 'media/openttd.16.png')
0 files changed, 0 insertions, 0 deletions