Decompile 2 functions in Source/UI/WindowBackground.cpp
Batch #14485 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_12085 UIWindow::DrawPanelBackground: logic confirmed by peer review - fn_12086 UIWindow::DrawPanelBackgroundAt: 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
ca75e5f95f
commit
4b14a82894
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ void UIWindow::DrawPanelBackground(int y, int width, const char* bitmapName) {
|
|||
if (std::strlen(bitmapName) != 0) {
|
||||
auto* bitmap = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(bitmapName)));
|
||||
if (bitmap) {
|
||||
this->DrawBitmap(0, y, &bitmap->image, false);
|
||||
this->DrawBitmap(0, y, bitmap, false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -53,7 +53,7 @@ void UIWindow::DrawPanelBackgroundAt(int x, int y, int width, const char* bitmap
|
|||
if (bitmapName && std::strlen(bitmapName) != 0) {
|
||||
auto* bitmap = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(bitmapName)));
|
||||
if (bitmap) {
|
||||
this->DrawBitmap(x, y, &bitmap->image, false);
|
||||
this->DrawBitmap(x, y, bitmap, false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue