From 0347ee62cb0604eb35674d2f3668b74f34c64a51 Mon Sep 17 00:00:00 2001 From: X123M3-256 Date: Fri, 29 Jul 2022 09:45:47 +0100 Subject: [PATCH] Remove apparently redundant cast --- src/openrct2/ride/TrackData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/ride/TrackData.cpp b/src/openrct2/ride/TrackData.cpp index 1f904578df..9cd0304ccb 100644 --- a/src/openrct2/ride/TrackData.cpp +++ b/src/openrct2/ride/TrackData.cpp @@ -5856,7 +5856,7 @@ static int32_t EvaluatorQuarterTurn3Tiles(const int16_t progress) static int32_t EvaluatorMediumHalfLoopUp(const int16_t progress) { - return ((static_cast(-(progress - 244))) / 4) + 51; + return (244 - progress) / 4 + 51; } static int32_t EvaluatorMediumHalfLoopDown(const int16_t progress)