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

This commit is contained in:
Gymnasiast 2021-07-27 16:45:06 +02:00
parent bb682ca09d
commit 5486dd3fa4
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 3 additions and 0 deletions

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;