From 0e6decbdfb0e7f4dae533dc8a247a78edd5ebdab Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 4 Sep 2023 00:06:30 +0100 Subject: [PATCH] Fix compiler warning on Windows ARM64 --- src/animated_tile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/animated_tile.cpp b/src/animated_tile.cpp index 9b700252f3..0a29992964 100644 --- a/src/animated_tile.cpp +++ b/src/animated_tile.cpp @@ -113,7 +113,9 @@ void AnimateAnimatedTiles() auto next = iter; ++next; - if (next != _animated_tiles.end()) PREFETCH_NTA(&(next->second)); + if (next != _animated_tiles.end()) { + PREFETCH_NTA(&(next->second)); + } if (iter->second.speed <= max_speed) { const TileIndex curr = iter->first;