diff --git a/Source/UI/Lists/UIComboBoxEx.cpp b/Source/UI/Lists/UIComboBoxEx.cpp index 82322e43..3a4c8e30 100644 --- a/Source/UI/Lists/UIComboBoxEx.cpp +++ b/Source/UI/Lists/UIComboBoxEx.cpp @@ -314,7 +314,7 @@ void UIComboBoxEx2::Resize(int width, int height) { // OFFSET: 0x00889E50 // FUNCTION: fn_11353 void UIComboBoxEx2::Paint() { - this->geometry.surface->Fill(nullptr, 0xC59582u); + this->ClearSurface(0xC59582u); this->FillRegion(1, 1, (this->geometry.width - 2), (this->geometry.height - 2), 0xFCF4F0u); const unsigned end = std::min( static_cast(this->lines.size()), static_cast((this->topLine + (this->geometry.height / this->lineHeight - this->bottomMargin))) diff --git a/Source/UI/Lists/UIComboBoxEx.h b/Source/UI/Lists/UIComboBoxEx.h index 21405952..cd936bb0 100644 --- a/Source/UI/Lists/UIComboBoxEx.h +++ b/Source/UI/Lists/UIComboBoxEx.h @@ -1,6 +1,7 @@ #ifndef RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H #define RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H +#include "Resource/TextureNames.h" #include "UI/Lists/UIListBoxEx.h" class UIComboBoxEx : public UIListBoxEx {