Fix #4237: Some scenery dissapears while zooming out x2 or more

This commit is contained in:
Yaroslav Tretyakov 2016-08-06 18:47:31 -06:00 committed by Ted John
parent c55d72412c
commit bb822e351d
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ void scenery_paint(uint8 direction, int height, rct_map_element* mapElement) {
if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_ANIMATED) {
rct_drawpixelinfo* dpi = unk_140E9A8;
if ( !(entry->small_scenery.flags & SMALL_SCENERY_FLAG21) || (dpi->zoom_level <= 1) ) {
if ( (entry->small_scenery.flags & SMALL_SCENERY_FLAG21) || (dpi->zoom_level <= 1) ) {
// 6E01A9:
if (entry->small_scenery.flags & SMALL_SCENERY_FLAG12) {
// 6E0512: