1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Remove apparently redundant cast

This commit is contained in:
X123M3-256
2022-07-29 09:45:47 +01:00
parent d1adb28131
commit 0347ee62cb

View File

@@ -5856,7 +5856,7 @@ static int32_t EvaluatorQuarterTurn3Tiles(const int16_t progress)
static int32_t EvaluatorMediumHalfLoopUp(const int16_t progress)
{
return ((static_cast<uint16_t>(-(progress - 244))) / 4) + 51;
return (244 - progress) / 4 + 51;
}
static int32_t EvaluatorMediumHalfLoopDown(const int16_t progress)