forked from rosebudai/OpenRCT2-Web
Make TestCase initialisation VS-friendly
This commit is contained in:
1 parent
d456d86f69
commit
fbc28186dd
1 file changed
+2
-3
+2
-3
@@ -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