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:
parent
37f21d7c9e
commit
e78abec351
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue