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).
This commit is contained in:
ragnarok-clanker 2026-11-10 16:50:12 +00:00
commit cfd20187fa

View file

@ -310,7 +310,8 @@ void CGameMode::DrawMiniMap() {
}
}
for (auto it = this->compassPosList.begin(); it != this->compassPosList.end(); ++it) {
if (static_cast<int>(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);
}
}