From ebbadaf39d92cd534ecbec266f39afbda2e22996 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 23:43:24 +0000 Subject: [PATCH] Decompile fn_21259 (CGameMode::DrawTimeAttackTimer) Batch #17504 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_21259 CGameMode::DrawTimeAttackTimer: 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 9ad6f4ab3..5057b926e 100644 --- a/Source/Client/Mode/GameModeMiniMap.cpp +++ b/Source/Client/Mode/GameModeMiniMap.cpp @@ -654,16 +654,16 @@ void CGameMode::DrawTimeAttackTimer() { value = 0; } digits[0] = value % 10; - digits[1] = value / 10 % 10; + digits[1] = (value /= 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; @@ -671,7 +671,7 @@ void CGameMode::DrawTimeAttackTimer() { 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;