mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-11 10:02:27 +01:00
Correctly input num_holes, inversions
This commit is contained in:
@@ -230,9 +230,14 @@ private:
|
||||
td->max_negative_vertical_g = td4Base.max_negative_vertical_g;
|
||||
td->max_lateral_g = td4Base.max_lateral_g;
|
||||
|
||||
// Only one sort this out
|
||||
td->inversions = td4Base.num_inversions;
|
||||
td->holes = td4Base.num_holes;
|
||||
if (td->type == RIDE_TYPE_MINI_GOLF)
|
||||
{
|
||||
td->holes = td4Base.num_holes;
|
||||
}
|
||||
else
|
||||
{
|
||||
td->inversions = td4Base.num_inversions;
|
||||
}
|
||||
|
||||
td->drops = td4Base.num_drops;
|
||||
td->highest_drop_height = td4Base.highest_drop_height / 2;
|
||||
|
||||
@@ -98,9 +98,15 @@ public:
|
||||
td->max_positive_vertical_g = td6.max_positive_vertical_g;
|
||||
td->max_negative_vertical_g = td6.max_negative_vertical_g;
|
||||
td->max_lateral_g = td6.max_lateral_g;
|
||||
// Only one sort this out
|
||||
td->inversions = td6.inversions;
|
||||
td->holes = td6.holes;
|
||||
|
||||
if (td->type == RIDE_TYPE_MINI_GOLF)
|
||||
{
|
||||
td->holes = td6.holes;
|
||||
}
|
||||
else
|
||||
{
|
||||
td->inversions = td6.inversions;
|
||||
}
|
||||
|
||||
td->drops = td6.drops;
|
||||
td->highest_drop_height = td6.highest_drop_height;
|
||||
|
||||
Reference in New Issue
Block a user