diff --git a/PaintTest/main.cpp b/PaintTest/main.cpp index 775db022bd..551cb06786 100644 --- a/PaintTest/main.cpp +++ b/PaintTest/main.cpp @@ -109,9 +109,8 @@ int main(int argc, char *argv[]) { continue; } - TestCase testCase = { - .rideType = rideType - }; + TestCase testCase = {0}; + testCase.rideType = rideType; if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_FLAT_RIDE)) { testCase.trackTypes.push_back(RideConstructionDefaultTrackType[rideType]);