From e78abec351f7b2adb2b68a69df6f6907f3741189 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 05:06:30 +0000 Subject: [PATCH] Decompile fn_03590 (UIPrivateAirplaneWnd::Paint) Batch #14983 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_03590 UIPrivateAirplaneWnd::Paint: logic confirmed by peer review Peer-reviewed-by: Yommy, ntrl, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/UI/Window/UIWindow.cpp b/Source/UI/Window/UIWindow.cpp index 8782a5b23..0d7305bc2 100644 --- a/Source/UI/Window/UIWindow.cpp +++ b/Source/UI/Window/UIWindow.cpp @@ -2106,8 +2106,9 @@ void UIPrivateAirplaneWnd::Paint() { int offset = 0; for (auto it = lines.begin(); it != lines.end(); ++it, offset += 12) { - const int y = static_cast(static_cast(32 - lines.size() * 12) * 0.5 + 78.0 + offset); - this->DrawTextAt(26, y, it->c_str(), 0, 0, 12, 0x3512b5, 0, 0); + this->DrawTextAt( + 26, static_cast(static_cast(32 - lines.size() * 12) * 0.5 + 78.0 + offset), it->c_str(), 0, 0, 12, 0x3512b5, 0, 0 + ); } }