diff --git a/src/openrct2/world/MapAnimation.cpp b/src/openrct2/world/MapAnimation.cpp index 8cd1c4557a..ef475fe7e4 100644 --- a/src/openrct2/world/MapAnimation.cpp +++ b/src/openrct2/world/MapAnimation.cpp @@ -554,7 +554,8 @@ static bool map_animation_invalidate_wall(int32_t x, int32_t y, int32_t baseZ) sceneryEntry = tileElement->AsWall()->GetEntry(); - if (!(sceneryEntry->wall.flags2 & WALL_SCENERY_2_ANIMATED) && sceneryEntry->wall.scrolling_mode == 255) + if (!sceneryEntry + || (!(sceneryEntry->wall.flags2 & WALL_SCENERY_2_ANIMATED) && sceneryEntry->wall.scrolling_mode == 255)) continue; int32_t z = tileElement->base_height * 8;