1
0
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:
Marijn van der Werf
2016-09-05 19:31:01 +02:00
parent d456d86f69
commit fbc28186dd

View File

@@ -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]);