Hide wooden platforms when the “no platforms” station style is selected

This commit is contained in:
Gymnasiast committed 2021-07-28 11:22:55 +02:00
1 parent bb682ca09d
commit 5486dd3fa4
1 file changed
+3
+3
View File
@@ -339,6 +339,9 @@ static void track_paint_util_draw_station_impl(
auto stationObj = ride_get_station_object(ride);
const bool hasGreenLight = tileElement->AsTrack()->HasGreenLight();
if (stationObj != nullptr && stationObj->Flags & STATION_OBJECT_FLAGS::NO_PLATFORMS)
return;
bool hasFence;
uint32_t imageId;