mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Make TestCase initialisation VS-friendly
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user