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).
This commit is contained in:
ragnarok-clanker 2026-11-09 05:06:30 +00:00
commit e78abec351

View file

@ -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<int>(static_cast<unsigned>(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<int>(static_cast<unsigned>(32 - lines.size() * 12) * 0.5 + 78.0 + offset), it->c_str(), 0, 0, 12, 0x3512b5, 0, 0
);
}
}