Decompile fn_10809 (UIEmblemWnd::Paint)
Batch #14497 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_10809 UIEmblemWnd::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:
parent
1f05781d0a
commit
4fd5b32896
1 changed files with 2 additions and 2 deletions
|
|
@ -25,14 +25,14 @@ void UIEmblemWnd::Paint() {
|
|||
if (framed && g_session.GetSceneUnknown004C() && !g_session.WorldUnknown0050()) {
|
||||
CBitmapRes* frame = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\emblem_frame.bmp")));
|
||||
if (frame) {
|
||||
this->DrawBitmap(0, 0, &frame->image, true);
|
||||
this->DrawBitmap(0, 0, frame, true);
|
||||
}
|
||||
}
|
||||
|
||||
const std::string name = g_guildMgr->GetEmblemFilename(this->guildId);
|
||||
CEmblemRes* emblem = static_cast<CEmblemRes*>(ResourceMgr::Instance().Load(name));
|
||||
if (emblem && g_session.GetSceneUnknown004C() && !g_session.WorldUnknown0050()) {
|
||||
this->DrawBitmap(framed ? 2 : 0, framed ? 2 : 0, &emblem->gif.image, true);
|
||||
this->DrawBitmap(framed ? 2 : 0, framed ? 2 : 0, &emblem->gif, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue