Make TestCase initialisation VS-friendly

This commit is contained in:
Marijn van der Werf committed 2016-09-16 19:44:36 +02:00
1 parent d456d86f69
commit fbc28186dd
1 file changed
+2 -3
+2 -3
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]);