From 7100c6b476f779d88f6b50e529450e35dac13a5d Mon Sep 17 00:00:00 2001 From: mix Date: Sat, 24 May 2025 18:13:53 +0100 Subject: [PATCH] Don't update map animations on ticks where nothing is updated --- src/openrct2/world/MapAnimation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/openrct2/world/MapAnimation.cpp b/src/openrct2/world/MapAnimation.cpp index e85ca582ed..9f729587d9 100644 --- a/src/openrct2/world/MapAnimation.cpp +++ b/src/openrct2/world/MapAnimation.cpp @@ -693,6 +693,10 @@ static bool IsTileVisible(const ViewportList& viewports, const TileCoordsXY tile static void UpdateAll(const ViewportList& viewports) { + // Currently nothing updates on odd ticks. + if (getGameState().currentTicks & 1) + return; + auto it = _mapAnimationsUpdate.begin(); while (it != _mapAnimationsUpdate.end()) {