diff --git a/Source/UI/Window/UIBitmapTab.cpp b/Source/UI/Window/UIBitmapTab.cpp index 7de94f1cf..b97b06757 100644 --- a/Source/UI/Window/UIBitmapTab.cpp +++ b/Source/UI/Window/UIBitmapTab.cpp @@ -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(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; } }