diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 5591888336..35acc3588b 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -2,6 +2,7 @@ ------------------------------------------------------------------------ - Improved: [#21400] The selector for setting staff patrol areas is now drawn on the water as well as on the surface under water. - Improved: [#26947] Rain is now drawn next to the bottom info panels (in RCT2 style). +- Change: [#27100] Negative G-forces no longer turn red in the stats window and graph when below -2.50. - Fix: [#1514] Wrong capitalisation for strings in the Guest List window. - Fix: [#21320] RCT1 allows more cars per train on some rides than OpenRCT2. - Fix: [#24457] Yellow is always rendered as third remap in Ride window. diff --git a/src/openrct2-ui/windows/Ride.cpp b/src/openrct2-ui/windows/Ride.cpp index 2250d2f777..e442d4483e 100644 --- a/src/openrct2-ui/windows/Ride.cpp +++ b/src/openrct2-ui/windows/Ride.cpp @@ -625,7 +625,6 @@ namespace OpenRCT2::Ui::Windows }; static_assert(std::size(GraphsYAxisDetails) == 4); - static constexpr auto kRideGForcesRedNegVertical = -MakeFixed16_2dp(2, 50); static constexpr auto kRideGForcesRedLateral = MakeFixed16_2dp(2, 80); // Used for sorting the ride type cheat dropdown. @@ -6094,16 +6093,13 @@ namespace OpenRCT2::Ui::Windows { // Max. positive vertical G's stringId = STR_MAX_POSITIVE_VERTICAL_G; - ft = Formatter(); ft.Add(ride->maxPositiveVerticalG); drawText(rt, screenCoords, stringId, ft); screenCoords.y += kListRowHeight; // Max. negative vertical G's - stringId = ride->maxNegativeVerticalG <= kRideGForcesRedNegVertical - ? STR_MAX_NEGATIVE_VERTICAL_G_RED - : STR_MAX_NEGATIVE_VERTICAL_G; + stringId = STR_MAX_NEGATIVE_VERTICAL_G; ft = Formatter(); ft.Add(ride->maxNegativeVerticalG); drawText(rt, screenCoords, stringId, ft); @@ -6464,7 +6460,6 @@ namespace OpenRCT2::Ui::Windows case GRAPH_VERTICAL: firstPoint = measurement->vertical[x] + VerticalGraphHeightOffset; secondPoint = measurement->vertical[x + 1] + VerticalGraphHeightOffset; - intensityThresholdNegative = (kRideGForcesRedNegVertical / 8) + VerticalGraphHeightOffset; break; case GRAPH_LATERAL: firstPoint = measurement->lateral[x] + LateralGraphHeightOffset; @@ -6501,7 +6496,7 @@ namespace OpenRCT2::Ui::Windows previousMeasurement ? PaletteIndex::pi17 : PaletteIndex::pi21); // Draw red over extreme values (if supported by graph type). - if (listType == GRAPH_VERTICAL || listType == GRAPH_LATERAL) + if (listType == GRAPH_LATERAL) { const auto redLineColour = previousMeasurement ? PaletteIndex::pi171 : PaletteIndex::pi173;