Fix #13021: Mowed grass and weeds don't show up (#13031)

This commit is contained in:
Aaron van Geffen 2020-09-29 02:44:29 +02:00 committed by GitHub
parent 43bc6babba
commit a0341a7aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Feature: [#12999] .sea (RCT Classic) scenarios are now listed in the “New Scenario” dialog.
- Feature: [#13000] objective_options command for console.
- Fix: [#3200] Close Construction window upon selecting vehicle page.
- Fix: [#13021] Mowed grass and weeds don't show up in extra zoom levels.
- Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
0.3.1 (2020-09-27)

View File

@ -1044,7 +1044,7 @@ void surface_paint(paint_session* session, uint8_t direction, uint16_t height, c
const bool showGridlines = (session->ViewFlags & VIEWPORT_FLAG_GRIDLINES);
auto grassLength = -1;
if (zoomLevel == 0)
if (zoomLevel <= 0)
{
if ((session->ViewFlags & (VIEWPORT_FLAG_HIDE_BASE | VIEWPORT_FLAG_UNDERGROUND_INSIDE)) == 0)
{