Decompile fn_10797 (UIBitmapTab::Paint)

Batch #14664 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_10797 UIBitmapTab::Paint: logic confirmed by peer review

Peer-reviewed-by: secret, Tanke, raiken
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-07 13:14:24 +00:00
commit f2ddcf767f

View file

@ -13,7 +13,7 @@ void UIBitmapTab::Paint() {
const std::string name = FormatOwnedString(this->tabs[index].name.c_str(), 'a' + (this->geometry.unknown_0030 == index));
CBitmapRes* bitmap = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(name.c_str())));
if (bitmap) {
this->DrawBitmap(0, y, &bitmap->image, false);
this->DrawBitmap(0, y, bitmap, false);
y += bitmap->image.height;
}
}