From cfd20187fa957ed681785609241186c1d12974d7 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 16:50:12 +0000 Subject: [PATCH] Decompile fn_21255 (CGameMode::DrawMiniMap) Batch #16298 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_21255 CGameMode::DrawMiniMap: logic confirmed by peer review Peer-reviewed-by: youko, bgamez23 Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Mode/GameModeMiniMap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Client/Mode/GameModeMiniMap.cpp b/Source/Client/Mode/GameModeMiniMap.cpp index bd4c11203..7f8285a7c 100644 --- a/Source/Client/Mode/GameModeMiniMap.cpp +++ b/Source/Client/Mode/GameModeMiniMap.cpp @@ -310,7 +310,8 @@ void CGameMode::DrawMiniMap() { } } for (auto it = this->compassPosList.begin(); it != this->compassPosList.end(); ++it) { - if (static_cast(timeGetTime() - it->second.tick) % 1000 < 500) { + const int elapsed = timeGetTime() - it->second.tick; + if (elapsed % 1000 < 500) { this->DrawMiniMapMarker(view, it->second.x, it->second.y, 1, std::string(""), 3, it->second.color, false); } }