mirror of https://github.com/OpenRCT2/OpenRCT2.git
Correctly input num_holes, inversions
This commit is contained in:
parent
d145f93c0b
commit
996cbdec02
|
@ -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;
|
||||
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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue