From 41f917142eaca7c02df6a3811ca2b3fe88218ce8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 23:43:40 +0000 Subject: [PATCH] Decompile fn_21260 (CGameMode::DrawTimeAttackCountdown) Batch #17497 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_21260 CGameMode::DrawTimeAttackCountdown: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Mode/GameModeMiniMap.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Client/Mode/GameModeMiniMap.cpp b/Source/Client/Mode/GameModeMiniMap.cpp index 5057b926e..26daafeb6 100644 --- a/Source/Client/Mode/GameModeMiniMap.cpp +++ b/Source/Client/Mode/GameModeMiniMap.cpp @@ -776,16 +776,16 @@ void CGameMode::DrawTimeAttackCountdown(std::uint32_t value, int mode) { display = 0; } digits[0] = display % 10; - digits[1] = display / 10 % 10; + digits[1] = (display /= 10) % 10; if (minutes > 0) { count = 4; digits[3] = minutes % 10; - digits[4] = minutes / 10 % 10; + digits[4] = (minutes /= 10) % 10; } if (hours > 0) { count = 6; digits[6] = hours % 10; - digits[7] = hours / 10 % 10; + digits[7] = (hours /= 10) % 10; } int total; @@ -793,7 +793,7 @@ void CGameMode::DrawTimeAttackCountdown(std::uint32_t value, int mode) { int startIndex; if (days > 0) { digits[9] = days % 10; - digits[10] = days / 10 % 10; + digits[10] = (days /= 10) % 10; total = 11; offset = -220; startIndex = 10;