mirror of https://github.com/OpenRCT2/OpenRCT2.git
Make TestCase initialisation VS-friendly
This commit is contained in:
parent
d456d86f69
commit
fbc28186dd
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue